Wrapper background-image

Discussion in 'Poloray WordPress Theme' started by home, Sep 12, 2014.

Thread Status:
Not open for further replies.
  1. home

    home Member

    Joined:
    Oct 9, 2013
    Messages:
    70
    Likes Received:
    3
    I'm trying to put a background image into the header, but can't seem to get it to work. I'm able to change the color of the background if I wish, but the CSS doesn't seem to work when I try and add an image. Here is the CSS I've tried:

    .wrapper {
    background-image: url('example.png');
    }

    I'm probably doing something wrong as I'm a newbie. Would appreciate some help.
    Thanks.
     
  2. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Proper format is following.
    .wrapper {
    background-image: url('images/example.png');
    }

    Please make sure example.png image is stored in images folder.

    It will resolve your issue.

    Thanks & Regards
    Yogesh Bhade
     
  3. home

    home Member

    Joined:
    Oct 9, 2013
    Messages:
    70
    Likes Received:
    3
    Thanks. I tried that, but it's still not working. I've uploaded the image to the images folder, but it doesn't make any difference. The strange thing is, I have a live CSS editor plugin for my browser. If I enter the CSS into it, it works fine. Obviously that doesn't make the changes permanently, but it still does what I'm trying to do until the page is refreshed. Any idea what seems to be preventing it from working when added to styling options, or even directly to the child style sheet? Thanks again.

    The URL is fegans.co.uk
     
  4. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Please send us image which you want to use in header background at [email protected].
    Also send us your WordPress dashboard login details also the link of this thread at [email protected]. so that, we can have a look over the issue in details.

    Your website link:
    WordPress username:
    WordPress password:
    This thread link: http://www.inkthemes.com/community/threads/wrapper-background-image.13833/#post-51488

    Note: When your issue get resolved, you can change your password.

    Thanks & Regards
    Yogesh Bhade
     
  5. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    You didn't give us which image do you want to make background of header, so i use an image which is uploaded in your dashboard to make background of header.
    Upload image which you want to background and copy it's url from dashboard and set background image as i set in Custom CSS.

    Thanks & Regards
    Yogesh Bhade
     
  6. home

    home Member

    Joined:
    Oct 9, 2013
    Messages:
    70
    Likes Received:
    3
    Problem resolved. Great help! Thank you.
     
Thread Status:
Not open for further replies.

Share This Page