• xoanxil

    (@xoanxil)


    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

    (@wpkoithemes)

    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

    (@xoanxil)

    I have paste this inside customize option, custom CSS but it doen´t change.

    The website is here:

    http://colapsoloxias.colapsocolectivo.org/

    And here a post:

    http://colapsoloxias.colapsocolectivo.org/prueba

    Any idea?

    Tnahls in advance

    Theme Author wpkoithemes

    (@wpkoithemes)

    Hi,

    I see. Try this:

    
    body.custom-background, .valmiki-side-padding-inside {
        background-image: none;
    }
    
    Theme Author wpkoithemes

    (@wpkoithemes)

    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

    (@xoanxil)

    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.