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 :)
-
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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login