Remove add body class

Posted in: Newspaper
Post count: 29

hi there i try to make some customization,
so i add custom “page-id” and custom “header-custom”.
now i try to remove class from “header-custom” and add some new classes.
i try to do that:
<script>$("body").removeClass("td-ad-background-link").addClass("demo");</script>

after <body> section but this dont work.
can you help me with this? thanks

Post count: 22421

Hi,
The easiest way to add extra classes is to simply edit the theme file and add your class in the html. if the header is what you are after, then here is where you can find it: http://screencast.com/t/e9eesMck. Also if you want to customize a specific header style: http://screencast.com/t/vAkvG8txAQFT
You have access to the html directly so you can add classes to it as you want/
Thank you!

Post count: 29

Hi,
Ok but can I remove classes?
Or remove one and add one class in body =” class”?
My JavaScript code don’t work with your theme for some
Reason? Maybe I must put it somewhere else?
Thanks for help

Post count: 22421

Hi,
You can add an extra class on the body like so: http://screencast.com/t/GWupJ57FdDi
I’m not sure what class you are trying to remove unfortunately so I;m not sure what solution I can provide based on just that.
Thank you!

Post count: 29

Keanu remove “td-ad-background-link class, but I want remove this class and add new in specific page not in all site!
Thanks

Post count: 22421

You can find the class being added here: http://screencast.com/t/gftUWu4TIXf
Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.