Title: Padding inside grid columns
Last modified: August 30, 2016

---

# Padding inside grid columns

 *  [Xaifu](https://wordpress.org/support/users/xaifu/)
 * (@xaifu)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/padding-inside-grid-columns/)
 * Hi!
 * All columns shortcodes add some padding to the inner space of the column with
   the class: .inside-grid-column
 * This makes the content not aligned properly with the regular margins of the page
   because of the extra padding in both sides. It can be changed with css inside
   the sortcode as you point in the FAQ, but wouldn’t be better to keep the content
   inside the columns without this extra padding by default?
 * 3 columns example here: [https://mielartesanal.com/](https://mielartesanal.com/)
 * By the way, the plugin works great and Generate Press has become my default theme
   for every project I develop. It’s fantastic!
 * [https://wordpress.org/plugins/lightweight-grid-columns/](https://wordpress.org/plugins/lightweight-grid-columns/)

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

 *  [staceyusborne](https://wordpress.org/support/users/staceycampbell/)
 * (@staceycampbell)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/padding-inside-grid-columns/#post-6829151)
 * Hi,
 * I will make sure Tom looks into this.
 * I agree that it would be better to not have any padding by default 🙂
 *  [Luiz Bills](https://wordpress.org/support/users/luizbills/)
 * (@luizbills)
 * [10 years ago](https://wordpress.org/support/topic/padding-inside-grid-columns/#post-6829221)
 * Maybe a shortcode option/prop, but with padding by default (to maintain compatibility).
 *  Plugin Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/padding-inside-grid-columns/#post-6829226)
 * You can use the style attribute in the shortcode to set the padding to 0.
 * `[lgc_column grid="25" tablet_grid="50" mobile_grid="100" style="padding:0px;"]
   Some content[/lgc_column]`
 *  [andyt1980](https://wordpress.org/support/users/andyt1980/)
 * (@andyt1980)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/padding-inside-grid-columns/#post-6829230)
 * I think it would be great to add a column gutter option as you have done with
   the new WP Show Posts plugin.
 *  Plugin Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/padding-inside-grid-columns/#post-8256823)
 * WPSP just adds padding to the elements, which you can do with the style attribute
   as shown above.
 * Does that not work for what you’re trying to do?
 * Let me know 🙂
 *  [dgomez](https://wordpress.org/support/users/dgomez/)
 * (@dgomez)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/padding-inside-grid-columns/#post-9246287)
 * In case anyone is still needing a fix for this I put this in my child theme style.
   css file
 *     ```
       .inside-grid-column {
           padding: 0 20px 0 0 !important;
       }
       ```
   
 * Puts all the padding on the right and none on the left.

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

The topic ‘Padding inside grid columns’ is closed to new replies.

 * ![](https://ps.w.org/lightweight-grid-columns/assets/icon-128x128.png?rev=1164572)
 * [Lightweight Grid Columns](https://wordpress.org/plugins/lightweight-grid-columns/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lightweight-grid-columns/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lightweight-grid-columns/)
 * [Active Topics](https://wordpress.org/support/plugin/lightweight-grid-columns/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lightweight-grid-columns/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lightweight-grid-columns/reviews/)

 * 6 replies
 * 6 participants
 * Last reply from: [dgomez](https://wordpress.org/support/users/dgomez/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/padding-inside-grid-columns/#post-9246287)
 * Status: not resolved