Title: Align widget
Last modified: August 20, 2016

---

# Align widget

 *  Resolved [suitcase1](https://wordpress.org/support/users/suitcase1/)
 * (@suitcase1)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/align-widget/)
 * Currently using your plug-in an am struggling to get the widget on the page to
   line up with the text.
 * I have tried inserting the following in the stylesheet (style.css) as I saw it
   in another post but it didn’t seem to work.
 * .widgets_on_page ul li{
    margin-left: 0px; padding-left: 0px; text-indent: 0px;}
 * The page is [. The widget is the recent posts about half way down the page. I want it so it is not ‘indented’ in.](http://suitcasestories.com/homepage-adjusted/)
 * Thanks in advance.
 * [http://wordpress.org/extend/plugins/widgets-on-pages/](http://wordpress.org/extend/plugins/widgets-on-pages/)

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

 *  Thread Starter [suitcase1](https://wordpress.org/support/users/suitcase1/)
 * (@suitcase1)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/align-widget/#post-3482789)
 * Sorry stuffed up the above post. The Site is [http://suitcasestories.com/homepage-adjusted/](http://suitcasestories.com/homepage-adjusted/)
 *  Plugin Author [toddhalfpenny](https://wordpress.org/support/users/toddhalfpenny/)
 * (@toddhalfpenny)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/align-widget/#post-3482956)
 * Hey there,
 * The following should do what you want… as long as I have understood correctly.
 * `#page .container .widgets_on_page ul {margin-left: 0;}`
 * You can try to work out which selectors are needed by using the “inspect element”
   feature in Chrome or Firefox.
 * Let me know how you get on,
    Todd
 *  Thread Starter [suitcase1](https://wordpress.org/support/users/suitcase1/)
 * (@suitcase1)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/align-widget/#post-3482963)
 * Thank you for your quick response but I can’t seem to get it to work. I tried
   the following:
 * #page .container .widgets_on_page ul {margin-left: 0;}
 * It didn’t work, so I tried:
 * #Homepage – adjusted.container.widgets_on_page ul {margin-left: 0;}
 * and it didn’t work, so I tried:
 * #Homepage_-_adjusted.container.widgets_on_page ul {margin-left: 0;}
 * and it didn’t work either.
 * I tried inserting the name of the widget on page as well (Home Page).
 * #Homepage_Page.container.widgets_on_page ul {margin-left: 0;}
 * No luck. I also tried all the above adding in the padding etc as well
 * e.g.
 * #Homepage_-_adjusted.widgets_on_page ul {
    margin-left: 0px; padding-left: 0px;
   text-indent: 0px; }
 * Any other thoughts?
 *  Plugin Author [toddhalfpenny](https://wordpress.org/support/users/toddhalfpenny/)
 * (@toddhalfpenny)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/align-widget/#post-3483059)
 * I see you’ve sussed it… looks like with this css
 *     ```
       #page.container.widgets_on_page ul {
       margin-left: -90px;
       padding-left: -90px;
       text-indent: -90px;
       }
   
       /* Custom CSS for site */
   
       #Home_Page ul {
       	margin: 0 !important;
       }
       ```
   

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

The topic ‘Align widget’ is closed to new replies.

 * ![](https://ps.w.org/widgets-on-pages/assets/icon.svg?rev=1400727)
 * [Widgets on Pages](https://wordpress.org/plugins/widgets-on-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widgets-on-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widgets-on-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/widgets-on-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widgets-on-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widgets-on-pages/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [toddhalfpenny](https://wordpress.org/support/users/toddhalfpenny/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/align-widget/#post-3483059)
 * Status: resolved