Adding oderdred list to CSS (3 posts)

  1. Arash
    Posted 9 years ago #

    Within my custom theme, the orderdred and unorderdred are not showing correcly. The marks and numers are missing next to the list.

    What code needs to be added in CSS in order to be able to add them?

  2. iLobster
    Posted 9 years ago #


    ul {
    <em>you unordered list styles here</em>
    ol  {
    <em>you ordered list styles here</em>

    Now, I can give you the right styles for what you need, because I'm not sure what you need, but here are the values you might want to add/play with:

    margin: <em>top right bottom left</em>
    padding: <em>top right bottom left</em>
    list-style: none;

    The first 2 are for adjusting the margin and padding around the lists, it might help with allot of things. the last is to get rig of the bullets if you ever want to do that.
    Int he forst 2, you enter the padding for the top, then right, bottom and lft, in the for of a number followed by 'px'

  3. Arash
    Posted 9 years ago #

    Thank you.

    For the right list-style I used http://www.w3schools.com/css/pr_list-style-type.asp

Topic Closed

This topic has been closed to new replies.

About this Topic