Hello, I want to know, is it possible to change the logo and the header when I resize the site with the media queries ?
For exemple I have one logo when the width is more then 1080px. And, when I reduce the windows and that the width is less then 1080px I want that appear another Logo. The same for the header.
Is it possible ?
(sorry for my english)
Thanks
Hi colapsnux!
Please add following code to Quick CSS in Enfold theme options under General Styling tab and adjust as needed
@media only screen and (max-width: 1080px) {
.logo a {
background-image: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png);
background-repeat: no-repeat;
background-size: contain;
}
.logo img {
opacity: 0;
}}
Can you please elaborate on the changes you would like to make on the header?
Best regards,
Yigit
It’s work for the logo thanks you.
I want the same things for the header img if possible
Thanks
That did the trick when I add this code to your code
.logo a {
background-image: url(http://kriesi.at/wp-content/themes/kriesi/images/logo.png);
background-repeat: no-repeat;
background-size: contain;
}
.header_color .header_bg {
background: url(URL_IMG) center center no-repeat scroll;
}
logo img {
opacity: 0;
}}
Thanks ;-)