Slider divs

Viewing 3 posts - 1 through 3 (of 3 total)
  • #5178
    jack2104
    Participant

    Hi Daniel/ Miniatica users

    I want to change the background on my slider – I know how to do this easy enough but I would like 2 divs also – one floating left and one right with gradients in so it looks like the background darkens out towards the edges.

    I cant seem to see where I could input these divs.

    Any help would be great.

    Jack

    #5190
    Daniel Tara
    Keymaster

    Simply try using the following values for background:

    #slider {
    	background: #151515;
    	background: -moz-linear-gradient(top, #ffffff 0%, #252525 50%, #ffffff 100%);
    	background: -webkit-linear-gradient(top, #ffffff 0%,#252525 50%,#ffffff 100%);
    	background: -o-linear-gradient(top, #ffffff 0%,#252525 50%,#ffffff 100%);
    	background: -ms-linear-gradient(top, #ffffff 0%,#252525 50%,#ffffff 100%);
    	background: linear-gradient(top, #ffffff 0%,#252525 50%,#ffffff 100%);
    }
    #5203
    jack2104
    Participant

    hi, cheers for this.

    I used the home.php and added 2 divs. floated one left and one right and used your suggested gradient rules with a tiled wooden background. http://www.jackhatesyouall.com

    looks good so far. thanks for your help

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

You must be logged in to reply to this topic.