Page 1 of 1

Bleakaton theme, title image

Posted: Thu Jun 04, 2020 3:47 pm
by maxv
Hello,
in the homepage, using the bleakathon theme, the images are proportionally enlarged to fill all the sides of the image box. (see http://www.rometec.it/bludit/ )
My images are not so big, so the final effect it's a too big zoom. I'd prefer that image are enlarged up to the height or the width of the box, whichever reach first the edges of the box.
How to do it?

Re: Bleakaton theme, title image

Posted: Mon Jun 15, 2020 9:39 pm
by maxv
Ok, solved. Just to change the file: bludit/bl-themes/blekathlon/css/style.min.css

open it and change the .entry-header-bg line to:

Code: Select all

.entry-header-bg{background-color:white;background-size:contain;background-repeat: no-repeat;background-position:center;height:270px;position:relative}

Re: Bleakaton theme, title image

Posted: Mon Jun 15, 2020 10:29 pm
by Edi
Thank you for let us know your solution!