Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #612244

    Hi
    I would like to add an image background to a specific page. I added the following code in my custom.css file, but it does not work.
    .page-id 861 .main_color {
    background-image: url(“//http://www.impactcrescendo.com/wp-content/uploads/17592132158_6886e3cbde_o.jpg”);
    }
    You need a password to access the page. I added in the private section below.
    The page link is http://www.impactcrescendo.com/learning-agility

    Thank you
    Lyse

    #612279

    Hey!

    Try with this code:

    .page-id-861 .main_color {
        background: url("http://www.impactcrescendo.com/wp-content/uploads/17592132158_6886e3cbde_o.jpg") no-repeat top center;
        background-size: cover;
    }

    Best regards,
    Josue

    #612286

    Hi Josue
    You rock!!!!
    Thank you so very much
    Lyse

    #612289

    You are welcome, glad to help :)

    Regards,
    Josue

    #612291

    Oops one last question….why does it overlap my section color, just below the slider?
    Lyse

    #612295

    If you’re referring to this section it is because that’s also main_color, try changing the Color Setting of it to “alternate color”.

    Best regards,
    Josue

    #612303

    Hi Josue,

    Perfect!

    Thank you
    Lyse

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Add image as background for specific pages only’ is closed to new replies.