Support » Fixing WordPress » Tried to recode to allow numbered lists. Now I have bullets scattered throughout

  • Resolved tcstrubel

    (@tcstrubel)


    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure,
    footer, header, hgroup, menu, nav, section {
    display: block;
    }

    ol, ul {
    list-style: none;
    }

    blockquote, q {
    quotes: none;
    }

    blockquote:before, blockquote:after, q:before, q:after {
    content: ”;
    content: none;
    }

    table {
    border-collapse: collapse;
    border-spacing: 0;
    }

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Good morning. Not sure if it is exactly what you are looking for, but it seems like

    
    ol, ul {
    list-style: none;
    }
    

    Is overwritten by something else, if you try changing it to

    
    ol, ul {
    list-style: none !important;
    }
    

    If you know you always want no list style, that may help you out.

    Let me know 🙂

    That was the code I originally changed. I’m almost certain I changed it back correctly. I did add the !important to the code, but the bullets still appear. On my homepage, https://rockdocumented.com/ you can see them on the top right next to the social icons and next to all headers (10 latest posts, about, follow us on instagram, and popular posts) I have no idea what caused those bullets to appear there. It began when I removed the none from the list style and changed it to number. Then I changed it back to none when it looked funky. I guess I am lost here.

    • This reply was modified 8 months, 1 week ago by  tcstrubel.

    From my test, not having the !important is what is causing this because something else is overriding the style. If you put in the !important, it may cause that to always be the action.

    I very much appreciate the response! It is currently coded this way:

    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure, 
    footer, header, hgroup, menu, nav, section {
    	display: block;
    }
    
    ol, ul {
    	list-style: none !important;
    }
    
    blockquote, q {
    	quotes: none;
    }
    
    blockquote:before, blockquote:after, q:before, q:after {
    	content: '';
    	content: none;
    }
    
    table {
    	border-collapse: collapse;
    	border-spacing: 0;
    }

    Unfortunately I am not seeing a change. I can copy the entire style sheet if you think it would help, but I’m at a loss as to what caused this.

    • This reply was modified 8 months, 1 week ago by  tcstrubel.

    I know a few days passed, but as I got a chance to look, it seems you selected a new Theme or something – right? If this is no longer an issue, can you Resolve it?

    Thanks!
    Phillip

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tried to recode to allow numbered lists. Now I have bullets scattered throughout’ is closed to new replies.