Support » Themes and Templates » Full Background CSS

  • Resolved Branway

    (@branway)


    I am wondering how to make the background a centered picture using CSS? I am using the theme: Pinboard

    Currently I am using the following:

    html {
      background: url(http://snapassistance.com/wp-content/uploads/2014/03/mex-980x450.jpg) no-repeat center center fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://snapassistance.com/wp-content/uploads/2014/03/mex-980x450.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://snapassistance.com/wp-content/uploads/2014/03/mex-980x450.jpg', sizingMethod='scale')";

    This works for about half of the page, Once you scroll down then it shows it. Not sure what the problem is. Any help would be appreciated! Thanks. LINK TO WEBSITE

Viewing 4 replies - 1 through 4 (of 4 total)
  • Piyush

    (@piyushpesw)

    hi first you take the backup of css then just put the comment on this css then check it is working correct or not..
    You just put this code in comment..
    Css path : http://snapassistance.com/wp-content/themes/golden-eagle-lite/style.css
    line number 22
    and code is
    background: none repeat fixed 0 0 #E5E5E5;
    put this code in comment like
    /* background: none repeat fixed 0 0 #E5E5E5; */
    Then check…

    Thread Starter Branway

    (@branway)

    Doesn’t seem to work.

    CrouchingBruin

    (@crouchingbruin)

    The theme I see on the web site is Golden Eagle Lite, not Pinboard.

    Do not edit the theme’s CSS file directly, even after making a copy. If the theme doesn’t have a custom CSS option, then use JetPack’s Custom CSS (I see that you have JetPack installed).

    Add this CSS:

    body {
       background: transparent;
    }

    Thread Starter Branway

    (@branway)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Full Background CSS’ is closed to new replies.