Home Forums Weaver Xtreme Theme Custom CSS

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #63032
    paulpa66
    Participant

    Trying to add a fixed image background using custom css as

    body {
    background-image : url(“grass.jpg”);
    background-size : cover;
    background-attachment : fixed;
    }

     

    But for some reason it only works on the main page not any other pages, can you help?

    #63035
    scrambler
    Moderator

    Please post a link to the site

    #63036
    paulpa66
    Participant

    I can’t it is still local using xampp.

    #63037
    scrambler
    Moderator

    If you want support, you need to find a way to put your site online somewhere, even in the subfolder of an existing site.

    First, you do not need CSS to do that, you can just go to Appearance > Background and use WordPress preset option “filled screen” to get the same cover and fixed properties.

    Also if you did set the background using WordPress Background, the CSS to override any WordPress background CSS would have to use the selector

    body.custom-background

     

     

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.