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!
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com