Edit List CSS

I feel like I am doing this wrong, so I wanted to double check.

I have gone into PRO>Theme Options>Typeography>Body and Content>Body Type Color and set the color to #495966.

I also want my Lists, UL and OL, to be the same color. I can’t see where to edit that so I ended up adding the following code to the Global CSS

ul {
color: #495966;
}

I am sure there is another, probably better way to do this, but I can’t seem to find it.

Hello Kenton,

Thanks for writing in!

The body and content settings will be applied to the body and content elements. That includes the UL and OL elements as well. If in your list items, there is a link or have been wrapped with another element, the global setting will no longer apply. Could you please provide us the URL where we can find your liss to investigate why the setting did not work for you? meanwhile, if you want to override the color with custom css, you may use this instead:

.entry-content ul, .entry-content  ol,
.entry-content ul li, .entry-content  ol li {
  color: #495966 !important;
}

Hope this helps. Please let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.