[Resolved] Help with Simple Css

Home Forums Support [Resolved] Help with Simple Css

Home Forums Support Help with Simple Css

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1344353
    Alan

    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?

    #1344638
    Leo
    Staff
    Customer Support

    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?

    #1344745
    Alan

    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;
    }
    #1344816
    Leo
    Staff
    Customer Support

    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;
    }
    #1344826
    Alan

    Leo:

    That worked perfectly. Thanks!!

    #1344827
    Leo
    Staff
    Customer Support

    No problem 🙂

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