Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1181332

    One of my Pages needs to have a black background. I tried this:

    html .page-id-1651 {
        background-color: #000!important;
    }
    
    and :
    
    .page-id-1651 html  {
        background-color: #000!important;
    }
    
    working, but changes all pages to black:
    html  {
        background-color: #000!important;
    }
    #1181426

    Hey royaltask,

    Please try the code:

    
    html #top.page-id-1651 #wrap_all {
        background-color: #000!important;
    }
    

    Best regards,
    Victoria

    #1181771

    Thank you but the background is still white.

    #1181779

    Hi,

    Please edit your page and add a Code Block element and then insert following code inside it

    
    <style>html {
        background-color: black;
    }
    </style>
    

    Best regards,
    Yigit

    #1181793

    Thank you, this is working great!

    #1181795

    Hi,

    You are welcome, glad we could help :)

    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Different background color for one page’ is closed to new replies.