Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #434670

    Hi togehter,

    I’m using an image as background and boxed layout on my Enfold Child Theme. One page should have no background, but a color. I entered the following code on style.css:

    .page-id-219 .body {
    background: red !important;
    background-image: none !important;
    }

    Instead of .body I also tried .html_boxed , .wrap_all , .bg_container and some other classes, but all these codes don’t work.

    Any solution for me?

    Regards, Andreas

    #435022

    Hey dreamworker80!

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Cheers!
    Rikard

    #435571

    Hi Rikard,

    here’s a link to the page: Testseite

    The red background with the little icons should be changed to no background or to another background picture.

    Cheers!
    Andreas

    #435888

    Hey!

    Try adding a Code Block element to the top of the page and paste the following code inside of it:

    <style>
    html.html_boxed {background: yellow !important;}
    </style>

    Best regards,
    Rikard

    #437037

    Thanks a lot, that works!

    Regards,
    Andreas

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change main background for only one site’ is closed to new replies.