Jump to content
Sign in to follow this  
windwhippedfarm

hide background image on posts only, not pages

Recommended Posts

windwhippedfarm

Hi, I am wondering if it's possible to hide a background image only on posts, not pages. I tried the following with CSS but it did not work: #post-1 .background-image { display: none; } Thks for your help, Virginie

Share this post


Link to post
Share on other sites
cmunns

Can you provide a link to the background you are talking about behind the post? On single post pages or the main blog page or both?

Share this post


Link to post
Share on other sites
windwhippedfarm

Hi Adam, Here is a link to one post: http://windwhippedfarm.com/?p=1 Ideally I would like to hide the background image of all single post pages. I'm not using a main blog page. Thks, Virginie

Share this post


Link to post
Share on other sites
windwhippedfarm

Hi Catrina, I tried the code you suggested and it removed the bark background (http://windwhippedfarm.com/?p=1) instead of the tree. Apologies, I realized I was not clear: I'm trying to get rid of the tree, which is the background of my page, but not the bark. Thanks, Virginie

Share this post


Link to post
Share on other sites
catrina

Add this code instead:

body.single-post #page-canvas {background-image: none;}


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×