Title: Remove background on posts
Last modified: May 21, 2021

---

# Remove background on posts

 *  [xoanxil](https://wordpress.org/support/users/xoanxil/)
 * (@xoanxil)
 * [5 years ago](https://wordpress.org/support/topic/remove-background-on-posts/)
 * Hi,
 * I am using a image background in my home page and I would like not show it in
   posts. I have tried different codes like this inside custom css:
 * .post-template-default.single.single-post {
    background:none; }
 * But I cannot make it work. Any clue about what could I do?
 * Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Theme Author [wpkoithemes](https://wordpress.org/support/users/wpkoithemes/)
 * (@wpkoithemes)
 * [5 years ago](https://wordpress.org/support/topic/remove-background-on-posts/#post-14469721)
 * Hi xoanxil,
 * I am not sure, how You use the template, but try this CSS:
 *     ```
       body.single-post {background-image: none;}
       ```
   
 * If it not helps, please send a link to Your site.
 *  Thread Starter [xoanxil](https://wordpress.org/support/users/xoanxil/)
 * (@xoanxil)
 * [5 years ago](https://wordpress.org/support/topic/remove-background-on-posts/#post-14470542)
 * I have paste this inside customize option, custom CSS but it doen´t change.
 * The website is here:
 * [http://colapsoloxias.colapsocolectivo.org/](http://colapsoloxias.colapsocolectivo.org/)
 * And here a post:
 * [http://colapsoloxias.colapsocolectivo.org/prueba](http://colapsoloxias.colapsocolectivo.org/prueba)
 * Any idea?
 * Tnahls in advance
 *  Theme Author [wpkoithemes](https://wordpress.org/support/users/wpkoithemes/)
 * (@wpkoithemes)
 * [5 years ago](https://wordpress.org/support/topic/remove-background-on-posts/#post-14470552)
 * Hi,
 * I see. Try this:
 *     ```
       body.custom-background, .valmiki-side-padding-inside {
           background-image: none;
       }
       ```
   
 *  Theme Author [wpkoithemes](https://wordpress.org/support/users/wpkoithemes/)
 * (@wpkoithemes)
 * [5 years ago](https://wordpress.org/support/topic/remove-background-on-posts/#post-14470557)
 * Sorry! The previous one will remove the background from all pages…
    Try this 
   instead:
 *     ```
       body.page-id-1059, .page-id-1059 .valmiki-side-padding-inside {
           background-image: none;
       }
       ```
   
 * This will only remove from the linked page.
 *  Thread Starter [xoanxil](https://wordpress.org/support/users/xoanxil/)
 * (@xoanxil)
 * [5 years ago](https://wordpress.org/support/topic/remove-background-on-posts/#post-14471234)
 * Thanks. It works. So, should I do this with every post? Is it anyway of doing
   this for all posts od at least for a list of post?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Remove background on posts’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/valmiki/1.4.0/screenshot.png)
 * Valmiki
 * [Support Threads](https://wordpress.org/support/theme/valmiki/)
 * [Active Topics](https://wordpress.org/support/theme/valmiki/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/valmiki/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/valmiki/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [xoanxil](https://wordpress.org/support/users/xoanxil/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/remove-background-on-posts/#post-14471234)
 * Status: not resolved