Site logo

Archived topic

Space between sections

17 replies · Started by Alessia on March 27, 2017

Viewing posts 1–15 of 18

Hello dear GP-Team,

when I want to have some space between my text sections, what can I do?

As example: I want to have between my text sections (with content background color) some space with the color of my background. Can I add an empty section for that or some custom CSS?

Thank you in advance!

Hi Alessia,

By sections do you mean Sections add on?

Can you provide a link to your site?

Thanks!

Hi Leo,

yes, with sections add on.

At the bottom of my homepage singlevip.de you can see what do I mean.
So I want to devide my text sections in some content parts and to have some space between them.

I do this with a new section with an empty space, but I don't know if it the right way.

Perfekt, thank you! :-)

And, what should I do, to have the title of each content section as a line with other color? Then I shoud to add this title as extra section with my wished background?

Depends what you are using for the title (h1/h2 etc.)

Try this CSS and you should see it change for your h2 titles in the existing content:

.generate-sections-container h2 {
    background-color: #000000;
}

Perfect, its working! Thank you!! :-)

Glad I could help :)

Hi Leo,

I have one question regarding space between sections (see above).

I want to add some space at the bottom of each section, but when I use this code, I didn't see any space at the bottom.

.generate-sections-container {
margin-bottom: 10px;
}

And when I use margin-top: 10px; I have the content part and a widget part not in the same line (like now)
See this link: http://www.betrugonline.net/stockpair-erfahrungen-und-test/

How can I do it right?
Thank you!

Hi Alessia,

Give this CSS a shot:

.separate-containers .site-main>.generate-sections-container {
    margin-bottom: 10px;
}

Let me know.

It's working! Thank you soo much!!

Glad I could help!

This archived topic is closed to new replies.