Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #116629
    smyo2017
    Participant

    Running Catch Base Pro at laihianluja.fi/smyo2017. Very simple site 🙂 I managed to set my custom background image for the header background for the main page, but on the other pages the background is just white?! How can I fix this? Here’s my Custom css:

    #masthead {
    background-image: url(“kartta_header2.png”);
    background-repeat: no-repeat;
    }

    What would be the correct id in the css to set the header background image for the entire site?

    Thanks!

    #116667
    Pratik
    Participant

    Hi @smyo2017,

    You need to add full path for image url. Try following code instead of the one you posted:

    
    #masthead {
        background-image: url("//laihianluja.fi/smyo2017/kartta_header2.png");
        background-repeat: no-repeat;
    }
    

    It should work. Let me know how it goes.

    Regards,
    Pratik

    #116910
    smyo2017
    Participant

    Thank you soo much Pratik 🙂 Stupid error from my side. Now it works!

    #116917
    Pratik
    Participant

    Hi @smyo2017,

    Glad your issue was solved. Would you mind taking a few minutes to write a review for me please? I’d really love to know what you think of my support. Your feedback is deeply valued as it will help potential clients read about your experience and also help me improve. You can leave the review here: https://wordpress.org/support/theme/catch-base/reviews/#new-post

    Thank you so much for your help!

    Regards,
    Pratik

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Header background image: custom css only works on main page?’ is closed to new replies.