I followed your instructions to add a header widget.
I added PHP code to the theme files, then added a “new widget” called header and added my custom code.
In upper left corner of header is my new widget, which works perfectly on desktop, but not on mobile.
I added position: absolute;} to my #summercountdown widget because that was the only way for the header to look correct on desktop. If you remove that, you’ll see what I mean.
However, I believe that bit of CSS is causing it to stay fixed on mobile. I would love for it to look correct on mobile and desktop. Help please :)
Hey jenmangas1!
Thank you for using Enfold.
Where would you like to position the widget on mobile view? Please provide a screenshot.
If you want to hide it on smaller screens, use this css code.
@media only screen and (max-width: 767px) {
#header .widget { display: none !important; }
}
Cheers!
Ismael