How can I disable the default margin and padding for the `ul` tag?

This topic has 2 replies, 2 voices, and was last updated 16 hours, 57 minutes ago ago by Andrew Mitchell

  • Avatar: st7878
    st7878
    Participant
    April 24, 2026 at 12:36

    Could you please advise how to remove the default margin and padding from a ul element? Because of them, the bullet points extend beyond the edges of the screen.

    Files is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 24, 2026 at 15:33

    Hello, st7878,

    Unfortunately, it cannot be removed; however, it can be modified, for example, by using the following code:

    ul {  
      margin: 0;  
      padding: 0;  
    }  

    Best regards,
    The 8Theme Team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.