+ Reply to Thread
Results 1 to 6 of 6

Thread: Using OL and UL in content blocks not showing as formatted lists

  1. #1
    Junior Member
    Join Date
    Jun 2017
    Posts
    25

    Using OL and UL in content blocks not showing as formatted lists

    When I add custom blocks and add Lists either with UL or OL and LI items...

    the text displays however no formatting that looks like a list.

    It seems to be removed via css... or am I missing something super obvious?

    I checked default templates without any customizations, and it does the same there.

    Any advice on how to get the list formatting to return for my content blocks?

    very specifically
    my test site URL
    https://www.megairon.com/

    on the home page, the "SELL WITH CLASSIFIEDS" block near the middle of the page... the entire content is defined as an Ordered List <ol> ... but no list formatting is taking place as expected.
    Last edited by Tim Wade; October 18, 2017 at 12:26 PM. Reason: change options

  2. #2
    Quote Originally Posted by Tim Wade View Post
    the text displays however no formatting that looks like a list.
    Do you mean, you like to show bullets or numbers beside lists?
    what is class myservicetext ,you used for ol and li tags?

  3. #3
    Junior Member
    Join Date
    Jun 2017
    Posts
    25
    that class is just recently added an hour or so ago, that class is to change color of the text in certain boxes.
    But I was having trouble with the lists long before that.

    Yes, I want the lists to format as lists (bullets or numbers, clean indentation, etc)...by default css behaviors... this should happen, unless it is turned off.

    I am having trouble understanding why default css behavior in the theme is to disable basic list formatting.

    I have tried to step over it, and re-enable it... but no luck so far.. .something I am missing.

  4. #4
    insert below codes at the myservicetext class and check again.

    Code:
    Only registered members can view the code.
    OR
    Code:
    Only registered members can view the code.
    OR
    Code:
    Only registered members can view the code.

  5. #5
    Junior Member
    Join Date
    Jun 2017
    Posts
    25
    yeah I have tried exactly that on many different attempts, in many different flavors.

    Object inspector shows that these two are being applied, but my seond list-style is being ignored and struck-through.

    body:not([class*="static-page"]) ul, body:not([class*="static-page"]) li {
    list-style: none;
    }

    .myservicetext {
    color: white;
    font-weight: bold;
    list-style: disc;
    }

    where the "list-style: disc" is being struck through and disabled by something I am not understanding.

  6. #6
    Use
    Code:
    Only registered members can view the code.
    OR
    Code:
    Only registered members can view the code.
    I'll be here tomorrow.
    Last edited by Bahram Soltanirad; October 18, 2017 at 03:21 PM.

+ Reply to Thread