[Support request] Unable to add CSS styling for list

Home Forums Support Unable to add CSS styling for list

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #896406
    Vijaykumar

    Hi
    I have a list of related posts and I am trying to add CSS styling for the list of links but it’s not getting applied.
    Example see the list styling for the “Recommended reading” list of links at the end of the post url I shared.

    I want to apply the “Disc” list style for this list as

    list-style-type: disc

    but it’s not getting applied. What CSS change I need to do?

    #896413
    Leo
    Staff
    Customer Support

    Hi there,

    The related posts plugin you are using is adding a lot of !important which makes the style really hard to overwrite.

    I gave it a quick go but couldn’t get it to work either.

    Have you checked with the plugin support?

    Let me know πŸ™‚

    #896426
    Vijaykumar

    Yes I logged the issue with them but plugin author saying there are lot of overrides by theme for the CSS hence simple CSS for that list style not getting applied. πŸ™

    #896432
    Leo
    Staff
    Customer Support

    That’s not what I’m seeing:
    https://www.screencast.com/t/QWDYL2v9d

    The theme’s style can usually be overwritten easily, for example, to add disc to the “Top FREE Training Tutorials” in the sidebar, we can just do this:

    .widget ul li {
        list-style-type: disc;
    }

    Can you ask them what CSS you’d need if you were using the default twenty series WP theme? It should be the same using GP.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.