Keyword

Add Custom CSS to category

More
2 years 10 months ago #144465 by Krikor
Krikor replied the topic: Add Custom CSS to category
There was an extension called CSS4K2. You can try this one.
If you want some code for reference you can download a free template from www.joomlaworks.net/joomla-templates/free-templates/takai and check the /includes/helper.php file.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #167532 by Krikor
Krikor replied the topic: Add Custom CSS to category
Hello there,

You should address this issue to the JCH devs in case they know a workaround.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

More
1 week 13 hours ago - 1 week 13 hours ago #167547 by athman abed
athman abed replied the topic: Add Custom CSS to category
What Eric said. But if you only want to change the style, and not the markup, there's an easier way. As long as your theme includes the body_class() call in the opening body tag, WP will add all sorts of useful CSS hooks to your page. The default markup will add the follwing classes to the body element on a category archive: archive category ;category-slug
which you can style as you like. A lot of theme frameworks will add even more useful hooks to your body class, although some of them I can't possibly see the real-world use cases for:
ShowBox VidMate Mobdro
Last Edit: 1 week 13 hours ago by athman abed.

Please Log in or Create an account to join the conversation.

More
4 days 14 hours ago #167557 by Krikor
Krikor replied the topic: Add Custom CSS to category
This is a Joomla! extension forum Abed.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

Moderators: william white