Title: Widgets margin
Last modified: August 31, 2016

---

# Widgets margin

 *  Resolved [davipbrito](https://wordpress.org/support/users/davipbrito/)
 * (@davipbrito)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widgets-margin/)
 * Hi,
 * On my front page I’m using a widget to show gallery images but the widget title
   and the images is very near to the left margin. How can I center?
 * site: [http://www.dicasnamala.com.br](http://www.dicasnamala.com.br)

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

 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widgets-margin/#post-7189446)
 * [@davipbrito](https://wordpress.org/support/users/davipbrito/) Try adding this
   to your Custom CSS:
 *     ```
       #frontsidebar .widget.ngg_images {padding: 30px; box-sizing: border-box; text-align: center;}
       #frontsidebar .widget.ngg_images .hslice { width: 85%;margin: 0 auto;}
       #frontsidebar .ngg-widget { text-align: center;}
       #frontsidebar .ngg-widget a {display: inline-block;}
       ```
   
 * Regards
 *  Thread Starter [davipbrito](https://wordpress.org/support/users/davipbrito/)
 * (@davipbrito)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widgets-margin/#post-7189495)
 * Thank you.. It worked!
    But i’m still not happy with the appearence of the gallery.
 * 1) How can I reduce the space between the posts widget and the gallery widget
   on front page?
 * 2) Can you tell me a better way to show the thumbnails? I would like to show 
   like the third example below, named “callbacks”:
 * [http://jquery.malsup.com/cycle/lite/](http://jquery.malsup.com/cycle/lite/)
 * I would like to three thumbnails that will be changing pictures from the album
   with this callback effect.
 * Thank you!!
 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widgets-margin/#post-7189501)
 * Hi
 * 1. Insert this in Custom CSS
 * #frontsidebar .widget.ngg_images{
    padding-top:0; }
 * 2. You can try the WordPress.org plugin directory
 * [https://wordpress.org/plugins/jquery-cycle-slideshow-for-simplest-gallery/](https://wordpress.org/plugins/jquery-cycle-slideshow-for-simplest-gallery/)
   
   [https://wordpress.org/plugins/tags/jquery-cycle](https://wordpress.org/plugins/tags/jquery-cycle)
 * Thanks
 *  Thread Starter [davipbrito](https://wordpress.org/support/users/davipbrito/)
 * (@davipbrito)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widgets-margin/#post-7189535)
 * Hello
 * 1. It didn’t works. Maybe I need to reduce the space below the posts widget!
 * 2. I will try these plugins
 * Thanks!
 * You’re being very helpful
 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widgets-margin/#post-7189540)
 * 1. If you want to reduce the space further, try adding this to your Custom CSS
   too:
 * `#frontsidebar .widget.ngg_images h3.entry-title.widgettitle { margin-top: 0;}`
 * Regards
 *  Thread Starter [davipbrito](https://wordpress.org/support/users/davipbrito/)
 * (@davipbrito)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/widgets-margin/#post-7189643)
 * Thanks! Looks better!!

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

The topic ‘Widgets margin’ is closed to new replies.

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

 * 6 replies
 * 2 participants
 * Last reply from: [davipbrito](https://wordpress.org/support/users/davipbrito/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/widgets-margin/#post-7189643)
 * Status: resolved