Can't get images to fill slider completely.

  • Anonymous


    I’m experimenting with something I haven’t done before, which is to replace the header entirely with the slider set to full width. I’ve managed to move the navigation menu, and get the top and bottom edges of the slider photos to the edges, but I haven’t been able to get the photos to go all the way to the sides.

    I want to either 1) make the background of the slider transparent (preferable), or 2) get these photos to stretch out to the edge.

    I’ve been in the forum archives for the last couple of hours and have tried probably 8 or 10 different commands, none of which works for me. I’ve also tried making the pictures larger which also has no impact.

    Currently I have the following CSS installed that I found that is supposed to make the background transparent, but this isn’t working:

    .featured_slider {

    background: none repeat scroll 0 0 transparent;


    The site is (Photos installed are just for test purposes) Because of the nautical background, I’d just as soon make the background transparent.

    I’ll keep looking, but any guidance would be appreciated.





    Sorry, you entered the code while I was editing my answer, so change that into this:

    .featured_slider {
    width:960px !important;
    margin:0 0 20px 0 !important;

    To keep the 20px bottom margin.



    Luko, I appreciate your help. That does align it left, but it appears that the graphic is being resized (or cut off).

    I looked at my test pictures to make sure they were 960px and they are, yet they still don’t fill up the space, leaving about 20px on the right margin.

    Last night I tried using a slightly wider picture, but that didn’t help either.

    Any thoughts on why that might be?



    Proud to close this one out! Struggled for days with it before finally starting over and working a piece of CSS at a time.

    The answers were out there, just had to dig them up.

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

  • You must be logged in to reply to this topic.
Graphene Themes Forum