- This topic has 17 replies, 2 voices, and was last updated 5 years ago by
Alessia.
-
AuthorPosts
-
March 27, 2017 at 3:54 pm #298165
Alessia
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!
March 27, 2017 at 3:58 pm #298166Leo
StaffCustomer SupportHi Alessia,
By sections do you mean Sections add on?
Can you provide a link to your site?
Thanks!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 27, 2017 at 4:06 pm #298168Alessia
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.March 27, 2017 at 4:08 pm #298169Alessia
I do this with a new section with an empty space, but I don’t know if it the right way.
March 27, 2017 at 4:17 pm #298172Leo
StaffCustomer Supportahh I see what you are saying π
Try this CSS:
.generate-sections-container { margin-top: 20px; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this is what you wanted.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 27, 2017 at 4:31 pm #298174Alessia
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?
March 27, 2017 at 4:41 pm #298176Leo
StaffCustomer SupportDepends 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; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 27, 2017 at 4:49 pm #298178Alessia
Thank you very much for your help, Leo! π
One more question:
I tried it with sections, but I can’t see any sidebar. But the option is activated. It is maybe of the section addon? https://www.singlevip.de/parship-erfahrungen-und-test2/March 27, 2017 at 4:53 pm #298180Leo
StaffCustomer SupportYou’re welcome π
See Tom’s explanation and alternative solution here: https://generatepress.com/forums/topic/sidebar-2/#post-227266
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 27, 2017 at 5:08 pm #298182Alessia
Perfect, its working! Thank you!! π
March 27, 2017 at 5:09 pm #298183Leo
StaffCustomer SupportGlad I could help π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 3, 2017 at 5:01 am #313348Alessia
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!May 3, 2017 at 9:10 am #313459Leo
StaffCustomer SupportHi Alessia,
Give this CSS a shot:
.separate-containers .site-main>.generate-sections-container { margin-bottom: 10px; }
Let me know.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 3, 2017 at 9:13 am #313462Alessia
It’s working! Thank you soo much!!
May 3, 2017 at 9:14 am #313463Leo
StaffCustomer SupportGlad I could help!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.