Site logo

[Resolved] NEWSROOM Category Color Settings Inquiry

Home Forums Support [Resolved] NEWSROOM Category Color Settings Inquiry

Home Forums Support NEWSROOM Category Color Settings Inquiry

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2440237
    Jimin

    Hello!

    When I created a new category in the newsroom theme, the background color displayed in the thumbnail-category is gone.

    I’d like to know how to specify a category background color.

    Please refer to the image below.

    Thank you for your kind help.

    #2440333
    Fernando
    Customer Support

    Hi Jeong,

    The Background color specific to each Category is added through Custom Code.

    To edit this, go to Appearance > Customize > Additional CSS, and look for these codes:

    body:not(.single) .post-term-item.term-business {
    	background-color: var(--business);
    }
    body:not(.single) .post-term-item.term-community {
    	background-color: var(--community);
    }
    body:not(.single) .post-term-item.term-education {
    	background-color: var(--education);
    }
    body:not(.single) .post-term-item.term-entertainment {
    	background-color: var(--entertainment);
    }
    body:not(.single) .post-term-item.term-lifestyle {
    	background-color: var(--lifestyle);
    }
    body:not(.single) .post-term-item.term-technology {
    	background-color: var(--technology);
    }
    body:not(.single) .post-term-item.term-travel {
    	background-color: var(--travel);
    }

    You’ll just need to add or replace one of these codes.

    For instance, you have a term with a slug term-finance. The new code to add for this would be:

    body:not(.single) .post-term-item.term-finance {
    	background-color: #ff0000;
    }

    You can replace #ff0000 with the color value you prefer.

    #2440352
    Jimin

    Wow, it’s really well done.

    Thank you so much for letting me know easily.

    Have a nice day!

    #2440353
    Fernando
    Customer Support

    You’re welcome, Jeong!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.