- This topic has 28 replies, 4 voices, and was last updated 8 years, 3 months ago by
Leo.
-
AuthorPosts
-
May 31, 2017 at 9:59 am #326701
dale
Found another (actual) issue with this (corrected) CSS today. It inserts the bullet replacement between the Share icons at the bottom of posts pages. Example on: https://www.janellereston.com/all-about-romance-reviews-best-womens-erotica-vol-2/
May 31, 2017 at 1:22 pm #326777Tom
Lead DeveloperLead DeveloperYep, your CSS will apply to all un-ordered lists in your content, which includes things like social icons if that’s how they set up their HTML.
If you’d like to link me to that page, I should be able to give you some CSS so the icons ignore it.
May 31, 2017 at 4:00 pm #326834May 31, 2017 at 5:47 pm #326861Leo
StaffCustomer SupportTry this:
.inside-article .sharedaddy .sd-content li:before { content: none; }May 31, 2017 at 7:50 pm #326910dale
Perfect! Worked great. Thanks!
May 31, 2017 at 7:52 pm #326913Leo
StaffCustomer SupportYou’re welcome!
December 14, 2017 at 4:15 am #449265André
Two clarifying questions about styling bullets in the main body/content area only.
I want to increate the space between list items so that it matches paragraphs (margin-bottom: 1.5em).
This works:
.inside-article li { margin: 0 0 1.5em 0; }… but it doesn’t when sections are used.
But this does work for sections:
.content-area li { margin: 0 0 1.5em 0; }Is
.content-areathe correct way to target bullets in the body content only? And it there no one CSS styling that’ll work for both sections and non-sections?That’s the first question.
Other little issue is in trying to change unordered lists from the default “circle” to square.
Now the opposite seems to be the case. This works for section content only:
.entry-content ul { list-style-type: square; }… but for post/page content when sections aren’t used,
ulreverts to “circle” for unordered bullets.Thanks!
André
December 14, 2017 at 8:35 am #449468Leo
StaffCustomer SupportHi there,
Can you link me to the site/pages in questions?
Feel free to start a new topic if you want to use the private URL field 🙂
Thanks!
December 18, 2017 at 3:31 am #451995André
Hey Leo,
Okay, I’ve setup these example pages:
Example: Bullets
https://tinylittlebusinesses.com/bullets-vosewaz/Example: Bullets w/ Sections
https://tinylittlebusinesses.com/bullets-sections-vosewaz/Both are displaying correctly – square bullets for unordered lists and correct list item spacing (1.5em).
However, the custom CSS is different for sections and non-sections. Below is our custom CSS:
.entry-content ul { list-style-type: square; /* square bullets non-sections */ }.inside-article li { margin: 0 0 1.5em 0; /* non-sections */ }.content-area ul { list-style-type: square; /* square bullets sections */ }.content-area li { margin: 0 0 1.5em 0; /* sections */ }No doubt I’m doing something wrong. How can I use one set of CSS for both sections and non-sections?
André
December 18, 2017 at 5:45 am #452060Leo
StaffCustomer SupportAhh sections don’t have
.entry-contentand.inside-article.However the CSS you currently use for sections should work for both sections and normal layout though.
December 18, 2017 at 6:59 am #452167André
Leo, ah yes – that worked, thx 🙂
So what is
content-areavs.entry-contentvs.inside-article?Do you guys have a visual template map of what CSS classes effect what?
December 18, 2017 at 7:08 am #452186Leo
StaffCustomer SupportThey are just classes they are attached to each type of template (sections vs non-sections).
Try right clicking on the outer edge of the container and use the developer tool then you should be able to see each class and the associate CSS with them 🙂
December 18, 2017 at 8:43 am #452264André
Leo, roger that. Thx dude.
December 18, 2017 at 11:39 am #452386Leo
StaffCustomer SupportGlad I could help!
-
AuthorPosts
- You must be logged in to reply to this topic.