Assigning Category Colors

Posted in: Newspaper
Post count: 8

Hi,

I just purchased this awesome theme!

I’d like to adjust the colors based on categories.

Example: In the homepage, i am fine with creating blocks where based on the category, i assign the color for that category. However, i’d like to assign the same category color when clicking menu (which leads to a category).

1. The Menu color is Orange in the home page.

2. Category 1 is “VIDEOS”, and i’d like everything under my VIDEOS link category to show as “RED”.

3. Category 2 is “AUDIO”, and i’d like to have eveything assinged to this category as “BLUE”

It would be great to know if after the menu is clicked, the menu color is highlighted as that assigned color.

Hoping you can help.

Thanks in adavance.

Post count: 22421

Hello,

Our theme does not have any such option so it will have to be made custom. We have not implemented any such feature. category colors are only shown on the post category tags on the post page. You can use css to color your menu items. I can provide an example of how it can be done if you can provide a link to your site so I can inspect it.

Thank you!

Post count: 8

My website is http://www.kosovarap.com

I appreciate your help for any CSS code you can provide me with.

Thank you.

Post count: 22421

Here is an example:

.sf-menu > .menu-item-12117 > a{
color:red!important;
}

each menu item has it;s own menu item number that you can use in the code. If you want to target anotjher one you would add it like so:
.sf-menu > menu-item-12211 > a{
color:blue!important;
}

Add the code in the theme panel-> custom css box

Thank you!

Post count: 8

Thanks again!

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