• 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/

    By the way, the plugin works great and Generate Press has become my default theme for every project I develop. It’s fantastic!

    https://www.ads-software.com/plugins/lightweight-grid-columns/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    I will make sure Tom looks into this.

    I agree that it would be better to not have any padding by default ??

    Maybe a shortcode option/prop, but with padding by default (to maintain compatibility).

    Plugin Author Tom

    (@edge22)

    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]

    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

    (@edge22)

    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 ??

    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.