- This topic has 11 replies, 4 voices, and was last updated 3 years, 2 months ago by
Leo.
-
AuthorPosts
-
April 14, 2016 at 1:27 am #186697
Sarah Cairncross
Hi Tom, I’ve had a search through the forum and gone through the upgrade plugins but can’t see anything that will help me increase the space between bulleted and numbered items in my blog post (http://tinywebservices.com/how-to-set-up-facebook-live-for-pages/)
I find them realllllly hard to read like that and if I insert a <br> it gets stripped.
Is there some CSS code I can apply or am I missing a setting in Customizer somewhere?
Thanks for your help,
SarahApril 14, 2016 at 10:25 am #186801Tom
Lead DeveloperLead DeveloperHi Sarah,
Try this CSS:
.entry-content ul li, .entry-content ol li { margin-bottom: 10px; }
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 14, 2016 at 10:51 am #186811Sarah Cairncross
Tom you are star! Thank you SO much – that has sorted it out perfectly π
April 14, 2016 at 10:51 am #186813Tom
Lead DeveloperLead DeveloperYou’re very welcome π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 27, 2017 at 5:37 am #411257Enrico
Hi Tom, this css is not working in pages that use sections add on.
How I have to use it with page made with sections?
If I use it without entry-content it works but it add a margine also on the menus. So I can not use it this way.
October 27, 2017 at 8:54 am #411416Leo
StaffCustomer SupportCan you link me to the page? Feel free to start a new topic so you have a private URL field to submit with.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 27, 2017 at 9:27 am #411449Enrico
Hi Leo,
1) this code:
.entry-content ul li, .entry-content ol li { margin-bottom: 10px; }
should work with sections?
2) or this code:
ul li { margin-bottom: 10px; }
should not add margin to menus?
I have now set the code 2) in this site: digitaldem.it.
Now it has WordPress 4.9 beta 4 but it was all the same with the official WordPress version 4.8.2October 27, 2017 at 12:44 pm #411544Leo
StaffCustomer SupportMenu is a list so yes 2) will apply to menu as well.
I’m not sure what you are trying to accomplish and the page you link isn’t using sections?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 27, 2017 at 1:52 pm #411575Enrico
You are right, sorry, I linked the wrong site. The correct one is questsocial.it
I need to have lists with more space between lines.
In other sites, that don’t have sections, I use this:
.entry-content ul li, .entry-content ol li { margin-bottom: 10px; }
Now I have put this code in the site with sections but don’t work there.
October 27, 2017 at 4:08 pm #411626Leo
StaffCustomer SupportTry:
.generate-sections-container ul li, .generate-sections-container ol li { margin-bottom: 10px; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 28, 2017 at 12:18 am #411748Enrico
Thanks a lot Leo! This is the right CSS code for pages with sections.
October 28, 2017 at 8:23 am #411985Leo
StaffCustomer SupportNo problem!
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.