• Resolved AlwaysEnthusiast

    (@alwaysenthusiast)


    Hi! I am now testing the free version of your plugin compared to “Easy table of contents”. Please see the website I indicated. Easy table of contents comes first and your plugin show its table of content just below. You will find that your plugin adds dots like in an unordered list while “Easy table of contents does not. Can that be fixed? I would like to see this problem resolved before I test the pro version (I want the Optional Expanding Animation and most of all the “Folded, floating on scroll” function)

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter AlwaysEnthusiast

    (@alwaysenthusiast)

    I think this is the same problem as pointed out by Rookie (@alriksson) when he says: “Numbers as <ul> is not correct should swap to <ol> once this is selected.” When I use your plugin and set it to use numbers as prefix my theme adds the dots for unordered lists. I don’t get this problem with “Easy Table of contents”. Hence, I think this is a glitch in your plugin that needs to be fixed. Otherwise your plugin looks like the best table of content plugin so far 🙂

    • This reply was modified 3 years, 9 months ago by AlwaysEnthusiast. Reason: Tagged code as code
    Plugin Author WPJoli

    (@wpjoli)

    Hi,

    In your case, your theme is indeed adding a background property to the list.

    .entry-content ul > li {
        background: url(resources/images/bullet.png) left 10px no-repeat;
        padding-left: 20px;
    }

    To prevent this from happening, you need to override the background property to none:

    #joli-toc-wrapper nav#joli-toc li, #joli-toc-wrapper nav#joli-toc.joli-collapsed li {
        background: none !important;
    }

    Easy TOC seems to be overriding the background property already.

    Anyways, I will note that down and make sure this does not happen in the future. Will be releasing an update soon.

    Thank for the feedback!

    • This reply was modified 3 years, 9 months ago by WPJoli.
    Thread Starter AlwaysEnthusiast

    (@alwaysenthusiast)

    Thanks for your reply. I added your suggested custom CSS and it fixed the problem. For coming updates I think Rookie (@alriksson) has a point. My theme would not add these dots for an ordered list. It only does it for an unordered list.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dots and numbers mixed’ is closed to new replies.