Support » Fixing WordPress » Different background image for categories/category archive

  • Hello all once again…
    I have tried multiple plugins and other things and allot of reading and have come up empty.. i am trying to have a a different background image foe each of my categories. I am using sliding doors theme. i have things set up so that my post are archived based on category so when you click on category you are redirected to the category archive and i would like each page to have a different background…….can anyone help ? tks site is

Viewing 5 replies - 1 through 5 (of 5 total)
  • Have you tried Conditional Tags?

    hi there….
    sorry have been busy and not checking reply to my post…i do not understand how conditional tags will allow for me to put a different background image on the archive pages for the different categories..but i will look into and install it and see what happens….


    is there a plugin for that?

    Hi rusty.2000,

    Probably the best way to accomplish this is to create a child theme for sliding door.

    Once you have that set up, in the style.css file you can add rules like this:
    body.category-projects-pastimes { background: url(images/image.jpg); }

    View the source of each of the archive pages to find out which body class you should hook into.

    tks for the help… A child theme…uggg work..and reading..then the source code… ok I am a newbie and learning very slowing about code and reluctant to play in there…but ok it looks like child theme and figuring out the archive pages…Gee it it not be plug and play i like that better!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Different background image for categories/category archive’ is closed to new replies.