Title: Styling text widget
Last modified: August 19, 2016

---

# Styling text widget

 *  [danichi](https://wordpress.org/support/users/danichi/)
 * (@danichi)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/styling-text-widget/)
 * Hey folks!
 * I have an image and some text showing in a text widget. At the moment it looks
   like crap (pardon my french) and whenever I try to use float or align on my image
   to get my text on the right-hand side, all of my widgets in my sidebar get messed-
   up for some reason.
 * Here is the code that is inserted for styling.
 *     ```
       #sidebar .textwidget p { padding: 10px; font-size: 11px; clear: left; }
   
       .textwidget { display: inline; float: left; margin: 0 10px 0 0; padding: 3px; background-color: #fff; }
       ```
   
 * Also, the background-color: #fff; is making some background in another widget
   change color.
 * What can cause this sort of problem? (Perhaps bad coding somewhere, but I don’t
   even know what code to look at.)
 * Thank you.
    /danichi

The topic ‘Styling text widget’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [danichi](https://wordpress.org/support/users/danichi/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/styling-text-widget/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
