Site logo

[Resolved] Site library: Newsroom, category pages, category background

Home Forums Support [Resolved] Site library: Newsroom, category pages, category background

Home Forums Support Site library: Newsroom, category pages, category background

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2591055
    Peter

    I’m using the Newsroom from the site library, and I want to ad my own categories. The categories have a colored background, but my own categories has no background. How do I set a background color?

    The site is itrafikken.dk, and an example is https://itrafikken.dk/category/fart-og-vanvid/ – “Fart og vanvid” needs a background color.

    #2591164
    Ying
    Staff
    Customer Support

    Hi Peter,

    1. Go to customizer > colors, add a new color by click the + butotn., and name it eg. fart-og-vanvid.

    2. Go to customizer > additional CSS, and add this CSS:

    body:not(.single) .post-term-item.term-fart-og-vanvid {
    	background-color: var(--fart-og-vanvid);
    }

    Repeat the 2 steps if you need to set up for more categories, just need to replace the fart-og-vanvid with other category slugs.

    #2592010
    Peter

    Thanks for helping out.

    #2592507
    Ying
    Staff
    Customer Support

    No Problem, glad to help 🙂

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