Site logo

Archived topic

remove padding on images

7 replies · Started by Alex on July 23, 2019

Viewing posts 1–8 of 8

Hi team GP

Is it possible to remove the padding between the 4 images (lunch, dinner etc) and also on either side so that it looks like this -

https://ibb.co/sb84v5R

Thanks in advance for your help!

Hi Leo,

Thanks for that, it's removed the padding on the inner but the each outer edge still has padding on it?

What part is that CSS targeting exactly? How does it relate just to that section?

Sorry if that's a really stupid question!

Thanks,

Alex

Add this CSS as well:

#generate-section-3 .generate-sections-inside-container {
    padding-left: 0;
    padding-right: 0;
}

Let me know :)

Thanks Leo!

Worked perfectly!

Does DP add a new number to each section created then? Like in the example below -

#generate-section-3
}

So you can then target different sections that way? Or could it be done by adding a class to the section instead?

Thanks,

Alex

Yup the section ID is automatically generated if you don't add a custom one yourself.

brilliant, thanks for the info and for your help!

No problem :)

This archived topic is closed to new replies.