Title: Right column CSS
Last modified: August 20, 2016

---

# Right column CSS

 *  [websmythe](https://wordpress.org/support/users/websmythe/)
 * (@websmythe)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/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? [http://thesugarshack.kucaburra.com/](http://thesugarshack.kucaburra.com/)

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/right-column-css/#post-3202069)
 * 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.
 *  [CPC Mike](https://wordpress.org/support/users/homergz/)
 * (@homergz)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/right-column-css/#post-3202070)
 * 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{
       float:left;
       }
       ```
   
 *  Thread Starter [websmythe](https://wordpress.org/support/users/websmythe/)
 * (@websmythe)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/right-column-css/#post-3202087)
 * 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.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/ari/1.2/screenshot.png)
 * Ari
 * [Support Threads](https://wordpress.org/support/theme/ari/)
 * [Active Topics](https://wordpress.org/support/theme/ari/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/ari/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/ari/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [websmythe](https://wordpress.org/support/users/websmythe/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/right-column-css/#post-3202087)
 * Status: not resolved