background image

  • Posted in : Photographer
  • rawinton
    Participant

    Hi, me again,
    You’ll be soon glad when I finally get this website going;)
    I have set a background image png through the custom css here’s the code I grabbed from the forum:

    body { background: #eee; background: url(‘my image url here’);}
    .site { background: transparent; }

    The problem is that I’d like the image aligned to the far right of the screen, but can’t do it.
    Also it continues to tile the image when I only want it once on the far right of the screen, not repeated all over the place.
    I’d really appreciate your help again.
    Thanks so much,

    ahmetsali
    Keymaster

    Hi, can you provide your url?

    rawinton
    Participant
    rawinton
    Participant

    Hi,
    Thanks again, the url is:
    http://rachelwintonphotography.com.au/wordpress/wp-admin/index.php
    and could you also possibly tell me how to just get the background image on the homepage, not the other pages? and not repeated and aligned to the right-hand side of the page as I mentioned before :)
    Thank you so much,
    R

    ahmetsali
    Keymaster

    i see, try removing the old css code and use this one;

    body.home {
        background: url('http://rachelwintonphotography.com.au/wordpress/wp-content/uploads/2015/03/Two-Strings-e1425953562646.png');
        background-repeat: no-repeat;
        background-position: right 0;
    }
    
    rawinton
    Participant

    Hi,
    Thanks so much but still no luck I’m afraid – it’s quite a thin image, could it be that perhaps it could only be viewed on the right of a larger screen (I’m on a macbook)?
    Is there any other way? Sorry to hassle you :)
    R

    ahmetsali
    Keymaster

    i just checked your site again and can’t see the custom css code added to your site, make sure you have added the custom css code to your site.

    http://www.pixelwars.org/forums/topic/how-to-use-custom-css-for-wordpress-themes/

    rawinton
    Participant

    Hi,
    Sorry I had to re-do the whole site because I tried to change the url and got 404 not found error…. bad.
    So now I have re-loaded, and done it all over again (twice).
    My new url is http://rachelwintonphotography.com.au and as you can see I’m still having trouble with the background image and the home page seems to be frozen until you click on the home link – what’s with that? I presume it must be the background still playing tricks?
    I’d really appreciate your help!
    Thanks again,
    R

    rawinton
    Participant

    ps the custom code is pasted there.

    ahmetsali
    Keymaster

    Hi again,

    – about background, also add this custom css code;

    .site {
        background: none;
    }
    

    – and update your theme to the latest version and also the images in your homepage in the slider are too big, try resizing them to increase your page load speed.

    rawinton
    Participant

    Hey thanks so much, it works perfectly now!
    great!!

    ahmetsali
    Keymaster

    you’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register