This topic contains 1 reply, has 2 voices, and was last updated by  Valar Morghulis 11 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #237

    maurogatti
    Participant

    I have problems to use different colors in the class .entry-categories
    All are the same color

    #238

    Valar Morghulis
    Moderator

    Hello,

    Currently, this theme haven’t supported this feature yet. To achieve this feature for now, you need to customize it manually.

    Firstly, follow the tut at: https://gist.github.com/thanh4890/6233de3e01b262a41fa3

    Open your blog page (blog 1 style), inspect the page, you can see the class for each category like the image below:

    You can use custom css plugin to change color for each category, for example:

    .category-10 { background-color: black; }
    .category-10:before { border-left-color: black; }
    
    .category-8 { background-color: blue; }
    .category-8:before { border-left-color: blue; }
    

    For further, you can find “entry-categories” in your theme and print the specific class for each category like the example above and style them to whatever you want.

    Hope this helps,

    Best regards,
    Punicatheme

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Category Color’ is closed to new replies.