Hi. I want to have a header image (in logo area) but my image is not responsive anymore,
What i did.
1. website styling – logo area – bg image (image size: 1612×250) – top middle – fixed
2. header-layout = logo middle, menu beneath
3. css code for no logo (.logo {display: none};)
4. Website layout -measurements : 100%
It looks good on a 24″ screen but not on a small 13″ screen.
The header image is not responsive.
What did i do wrong?
THX Freek
Hi Freek,
I’m not sure what you mean by that, it looks responsive on my end, did you manage to get it fixed? If not then please try to explain a bit further and/or post screenshots of the issue.
Thanks,
Rikard
Hi Rikard,
I moved the test to another URL (see private content). As you can see i made a clean WordPress and Enfold installation with no changes other than the no logo css code.
In the styling – Logo Area – Background image area, i uploaded an logo image (size: 1612 × 250, fixed, no-repeat).
The image is too large and is not responsive.
Hope you know what i mean now.
THX Freek
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.header_color .header_bg {
background-size: contain !important;
}
Best regards,
Yigit
It looks better now but i changed the header height to 290px, but the menu is still shown through the tekst. How can i change the header background size? THX Freek
Hi,
Can you please try using your logo instead? I see that you have removed it using custom CSS code. Please remove that code and add following
.container.av-logo-container {
max-width: 100%!important;
margin: 0!important;
width: 100%!important;
}
Best regards,
Yigit
Ok this worked for me.
THX case closed