Archived topic
Help with Simple Css
5 replies · Started by Alan on June 28, 2020
I used simple css to create three different list styles on my sitemap page (disc, circle, and square) which is great since it does not impact the global list style of the website. The unintended consequence, which I just noticed, is that the square list style appears on the GP mega menu on the sitemap page as well. Any suggestions on how to remove that formatting from the mega menu?
Hi there,
What is the CSS you are referring to?
Can you copy and paste it here and make sure to highlight the code and click the <code> button?
Here is the code
ul {
list-style: none;
}
ul li {
list-style: disc;
}
ul li li {
list-style: circle;
}
ul li li li {
list-style: square;
}
Try this instead:
.entry-content ul {
list-style: none;
}
.entry-content ul li {
list-style: disc;
}
.entry-content ul li li {
list-style: circle;
}
.entry-content ul li li li {
list-style: square;
}
Leo:
That worked perfectly. Thanks!!
No problem :)