Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3923

    Hello,

    I can’t seem to get the featured images on the main page or on the single post view to be centered. When I look at the code on the page in firefox, using firebug, I am able to just set the left/right margins to auto – which works. I tried to switch the margins of featured_container1 in the stylesheet and that hasn’t worked. Does anyone know how to get the featured image to be centered?

    Thanks,

    http://howhilarious.com/ (my site- which this post is about)

    #44202

    Hey,

    the featured image on the main page is displayed within the slider. The slider itself always has the same dimensions and is centered. You can’t center individual slides tough.

    If you want to resize and center the slider completely (i.e. because all your slides have a width of 600px only and not 850px) you can do that by changing following code in style.css:

    #top div .slideshowBig{
    width:850px;
    height:400px;
    margin:30px 40px 0 40px;
    }

    to:

    #top div .slideshowBig{
    width:600px;
    height:400px;
    margin:30px auto;
    }

    However this will effect all fullwidth sliders on all pages….

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

The topic ‘Centering Featured Image’ is closed to new replies.