ajax doesn't change body classes (and maybe more)
-
If you have ajax activated in Lay Theme Options, the body classes dont change if you change pages. For example the .home class is always active, wether you are on the home page or not. This means you cant use .home { ... } to address only this page.
As a workaround you can disable ajax but lose ajax benefits.
-
you can use the slug-** class!
or id-** class :)
-
@arminunruh Yes, but if you want to address the front page and set a different page as the front page, the code doesn't work anymore (or you have to remember to change the id number in the code again).
-
yes, if u update lay theme in an hour this will be fixed!
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache.
Now see if your problem solved itself.
Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it