Background-size not working

Discussion in 'Squirrel WordPress Theme' started by followme, Jun 18, 2013.

  1. followme

    followme New Member

    Joined:
    Mar 29, 2012
    Messages:
    9
    Likes Received:
    0
    Hello,

    For some reason the stylesheet property "background-size:cover;" won't work on the website ketikoti.martexotica.com. Nor does the no-repeat option.
    This is the code I placed in the Custom CSS:
    body {
    background:url(images/pattern-image.png);
    background-attachment:fixed;
    background-repeat:no-repeat;
    background-position:left top;
    background-size:cover;
    font-family:"Trebuchet MS";
    font-size:14px;
    color:#4d4d4d;
    }
    Could it be that these properties are being overruled by settings in the theme's CSS or whatsoever?

    Thanks in advance
    Rgrds,
    Willem
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,


    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    body {
    background:url(http://martexotica.com/slavernij/wp-content/uploads/2013/06/bg_voc.jpg);
    background-attachment:fixed;
    background-repeat:no-repeat;
    background-position:left top;
    background-size:cover;
    font-family:"Trebuchet MS";
    font-size:14px;
    color:#4d4d4d;
    }
     

Share This Page