Support » Theme: Ari » Right column CSS

  • K. So, I don’t think there is, but… is there anything hidden that might be controlling the secomdary-sidebar CSS, on the right side. I’m trying to center an image in a text widget, and even when I add
    ‘style=”display:block;margin-left !important:auto;margin-right:auto !important;”‘
    directly to the <img> tag, it does nothing. I’m stumped. Any body got any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • WPyogi


    Forum Moderator

    Which image are you dealing with? Your code in your post has the auto and !important reversed — so if that’s what’s in your actual code, that would do it.

    BTW, inline CSS code is not generally recommended.

    The cetering problem you are having is because of this in your style.css:

    ul.sidebar li.widget_text img {
        float: left;

    I’m assuming that is there to align the small images above it. Use different css properties for each text widget instead:

    #text-3 img{

    Thanx folks. Appreciated. Another pair of eyes is always best.
    @CedarPointConcepts: Thanks for pointing out the float. Totally missed that sitting right in front of my face. Duh! Time to down tools.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Right column CSS’ is closed to new replies.