Return to Support

Image won't align center

Home Forums Graphene WordPress theme Support Image won't align center

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6000
    jrothra
    Member

    Here’s the URL: http://fbcfloralcity.jrothraministries.com/

    The “sermon online” image on the right should be centered. I’ve tried multiple variations to get it right. I’ve ticked the “graphene_before_sidebar1” option in the “Action Hook Widget Areas” section of the theme options. Inside that widget area I added a “text” widget with the following variations on the HTML code. None center the image for me in Firefox or IE (both are the latest versions of each browser):

    DIV Variations:

    <div style="margin-right:5px;"><a href="http://fbcfloralcity.jrothraministries.com/sermons/"><img src="http://fbcfloralcity.jrothraministries.com/wp-content/uploads/2012/10/sermons-online.png" alt="Sermons online" /></a></div>

    <div style="padding-right:5px;"><a href="http://fbcfloralcity.jrothraministries.com/sermons/"><img src="http://fbcfloralcity.jrothraministries.com/wp-content/uploads/2012/10/sermons-online.png" alt="Sermons online" /></a></div>

    <div style="text-align:center;"><a href="http://fbcfloralcity.jrothraministries.com/sermons/"><img src="http://fbcfloralcity.jrothraministries.com/wp-content/uploads/2012/10/sermons-online.png" alt="Sermons online" /></a></div>

    Non-DIV Variations:

    <a href="http://fbcfloralcity.jrothraministries.com/sermons/"><img src="http://fbcfloralcity.jrothraministries.com/wp-content/uploads/2012/10/sermons-online.png" alt="Sermons online" style="margin-right:5px;" /></a>

    <a href="http://fbcfloralcity.jrothraministries.com/sermons/"><img src="http://fbcfloralcity.jrothraministries.com/wp-content/uploads/2012/10/sermons-online.png" alt="Sermons online" style="padding-right:5px;" /></a>

    <a href="http://fbcfloralcity.jrothraministries.com/sermons/"><img src="http://fbcfloralcity.jrothraministries.com/wp-content/uploads/2012/10/sermons-online.png" alt="Sermons online" style="text-align:center;" /></a>

    How do I center it?

    #33059
    jrothra
    Member

    I mis-measured the space. I had the image too large. Fixed now.

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

You must be logged in to reply to this topic.