Tagged: content width, narrow
Hello together,
All of the sudden our complete website has a very narrow content width which results in some crooked elements (except for the LayerSlider elements).
As far as we can remember we haven’t changed anything (e.g. settings or CSS) and we can’t get it back to the initial content width.
How can this be fixed?
PS: We are bound to use an older version of Enfold due to a mandatory plugin that requires an older PHP version but that hasn’t been a problem so far.
Best regards,
Marc
Let me guess: 1130px – this is definitely a mistake in a newly added css.
because those lines of css – injected by enfold options dialog are below the quick css settings – if a mistake was made ( very often a missing curly bracket on media-query settings – or a comma instead of a semicolon ) those rules will not take effect.
If you can’t make the link public – you’ll have to wait until mods are here to fix it, I’m afraid.
I saw a former thread where it said to double check the Quick CSS which I did but your hint with the media queries was perfect.
It actually was a missing curly bracket, thank you Guenni007.
This ticket can then be closed now.
This can happen quickly, especially with numerous css rules within a media query. That’s why I usually write the empty media query statement first, including the closing brackets, and then write the rules that have to go in there.
Hi,
Thanks for helping out @guenni007 :-)
I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard