add image to slider background?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #1109
    mag
    Participant

    I was wondering if there was a code to add an image to the slider background rather than keeping it a solid color?
    Thanks in advance for any info.

    #1110
    Kath
    Participant

    That’s a great idea! I’d love to hear how to do that. Thanks mag!

    #1111
    mag
    Participant

    Hey Kath,

    1) upload a pic that’s about W-1450 & H-100 (may need to play with sizes, esp H)
    2) Once it uploads look for the url location. “http://www.your site name etc…” then copy that
    3) Go the appearance editor -style.css-scroll about halfway down to this:
    #slider {
    position:relative;
    height:410px;
    padding:30px 0 30px 0;
    margin-bottom:20px;
    background#000000;
    4) replace #000000 with: “-image: url(http://www.the location of your pic.jpg);” NO QUOTATIONS but you need the hypen, parenthases, and semi-colon
    5) Update and wait, sometimes it takes a bit

    Good luck

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

You must be logged in to reply to this topic.