• Resolved daesnyder

    (@daesnyder)


    I used the following code while composing a post. It appeared correctly in the Visual Editor as an alpha list (a, b, c and d). However, when I post, it shows up as 1, 2, 3, 4. I can live with using an unordered list instead of using a, b, c and d. I just wondered if WordPress just doesn’t allow ol type=”a” lists. Thanks.

    <ol type="a">
    
    <li>Start up the Indexer in maintenance mode.</li>
    <li>Check off the drive(s) being indexed.</li>
    <li>If you are going to re-init your databases, select <i>Profiles and Text </i>from the <i>Update</i> pull-down menu, then select <i>Initialize and Create Databases</i>.</li>
    <li>Once this step is done, you will need to put the Indexer back into <i>Server</i> Mode by selecting <i>Start</i> from the <i>Server</i> pull-down menu.</li>
    </ol>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi!

    just doesn’t allow ol type=”a” lists.

    This will vary from theme to theme because that is styling decision. What you can do is use CSS classes for this. The Mozilla Developer site has some good information about that as well. The page on list styling:
    https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type

    It sounds like a plugin may be creating that and perhaps doesn’t load the styling for it or got lucky. ??

    Either way, it is a styling choice. There are ways to give it the styling you desire by using a child theme, custom CSS plugin, or a CSS module from a plugin. You would just need to make sure your CSS is proper. ??

    Hope that helps!

    Thread Starter daesnyder

    (@daesnyder)

    Thanks so much, Jose. ?? It worked. I added the Custom CSS plugin. I added the following to that:

    ol.normal {
      list-style-type: upper-alpha;
    }

    Then in the post’s code, I used:

    <ol style="list-style-type: upper-alpha;">
    	<li>Start up the Indexer in maintenance mode.</li>
    	<li>Check off the drive(s) being indexed.</li>
    	<li>If you are going to re-init your databases, select <i>Profiles and Text </i>from the <i>Update</i> pull-down menu, then select <i>Initialize and Create Databases</i>.</li>
    	<li>Once this step is done, you will need to put the Indexer back into <i>Server</i> Mode by selecting <i>Start</i> from the <i>Server</i> pull-down menu.</li>
    </ol>

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Awesome! Glad it worked! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ol type="a" not shown in post’ is closed to new replies.