Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to have a different background image as per PAGE (category)

When the user goes to the home.php, call it A, it shall have a background image, then if I send them to a page B, I would like the background image to change.

Can anyone steer me in the right direction for this, please? I understand it can be achieved via .css.

share|improve this question
    
No. It is not CSS. You have to create 'add_meta_boxes' codex.wordpress.org/Function_Reference/add_meta_box –  ucon89 Jan 16 at 16:54

2 Answers 2

The easiest way is to install a plugin http://wordpress.org/plugins/custom-background-extended/

However, you can do this using CSS with the category i.d, slug or adding a custom body class for each category page.

Or PHP code, with or without a meta box depending on how many different backgrounds you want..

share|improve this answer

I was able to achieve this using a plugin named: Background Manager

http://wordpress.org/plugins/background-manager/

thank you

share|improve this answer
    
not prefectly yet, but in the right direction –  A4D Jan 18 at 17:38
2  
Please provide more information. How did the plugin help? Where can one get the plugin? –  Pat J Jan 18 at 18:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.