• Resolved dande82

    (@dande82)


    Hi, is there a way to remove the padding (set it to 0) of the first element of a row?
    And the same with the right padding of the 4th (–> last element of the row).

    I tried with :first-child etc. but I can’t get it done.
    can you please help me?
    We can use https://customlayouts.com/examples/ (the Template: Flat – Portrait (modified)”) this as an example.

    Thanks

    D.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Code Amp

    (@codeamp)

    Hey @dande82

    Do you mean the spacing all down the left and right side of a layout?

    For now you’ll have to use some custom CSS to achieve it:

    .cl-layout {
    	margin-left: -50px;
    	margin-right: -50px;
    	overflow: hidden;
    }

    Change the 50px value to match the padding size you have set.

    Thanks

    Plugin Author Code Amp

    (@codeamp)

    Hey @dande82 , we’ve just released 1.4.8 – which provides grid gap, margin, and padding controls (as well as background color).

    Read more here – and you probably want to remove the custom CSS to fix this as it will conflict with our new settings!

    Best

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove left padding of the first element of a row’ is closed to new replies.