Bleakaton theme, title image

Post Reply
maxv
Ssr. Bludit
Posts: 15
Joined: Wed Mar 11, 2020 6:05 pm

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?
maxv
Ssr. Bludit
Posts: 15
Joined: Wed Mar 11, 2020 6:05 pm

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}
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Thank you for let us know your solution!
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply