• I am having problems with numbered lists. In the visual tab, the lists are showing correctly, but in the published articles they are showing as bulleted lists. For example, in this article,look at the first list. This is the HTML code for that list:

    <ol style="list-style-type: decimal;">
    	<li>/boot (which is where Linux will install your boot loader to allowthe choice of booting between OS's)</li>
    	<li>swap (This is the equivalent of virtual memory in Windows)</li>
    	<li>/(root) (This is where your file system will be installed and also in this case your personal files too and takes the rest of your partition space)</li>
    </ol>

    I’ve looked at similar threads, but haven’t been able to find the answer. I’m not an HTML expert and create the articles in WordPress by copy and pasting from a post in our forum. The link to that particular article is http://www.techsupportforum.com/forums/f195/a-guide-to-dual-booting-linux-658572.html In similar articles with the same problem, <ol> tag is shown without any modifiers, but the result is the same

    Any help would be appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • It’s your theme. Where did you get the theme? I don’t see this theme on WordPress.org (it if is, let me know), so you’ll need to contact the theme’s author.

    Thread Starter JohnthePilot

    (@johnthepilot)

    The theme was selected by the previous owners of http://www.techsupportforum.com, Social Knowledge. As the site has since been bought by Vertical Scope, finding out where it came from would be a lengthy exercise.

    Try styling the <li> like this:

    <ol>
    	<li style="list-style-type: decimal;">/boot (which is where Linux will install your boot loader to allowthe choice of booting between OS's)</li>
    	<li style="list-style-type: decimal;">swap (This is the equivalent of virtual memory in Windows)</li>
    
    </ol>

    It’s not a solution. I’m just qurious if it’ll work.

    Looks like you got it sorted out. The theme’s css was setting the list-style-type.

    Thread Starter JohnthePilot

    (@johnthepilot)

    Many thanks for your replies. However, as I said earlier, I’m not an HTML expert, and don’t know how to change the CSS settings in the theme,or even where I can find it, but I’ll try and find where the theme is stored.

    I can change the individual <li> modifiers, but there are literally hundreds of them in all our articles, and I really want WordPress to do it for me, as it does with other formatting.

    Edit: I’ve found the theme, and it looks as though it was written by one of the previous owners.The address is http://www.techsupportforum.com/wp-admin/themes.php, but you may not have access. I’ll try and get in touch with the original author.

    It looks like you changed the page, but here’s the link to your original css file:

    I used Firebug to track it down. I believe it was this line that was changing the decimals to squares:

    #post_wrap li{list-style-type:square}

    Just comment out that line. The usual caveat applies (though from your previous comment, it sounds like it might not apply in your case) – any changes you make directly editing the css file could possibly be lost if you update the theme. In that case, create a child theme or use a plugin to allow you to update css outside of the theme.

    Thread Starter JohnthePilot

    (@johnthepilot)

    Many thanks for your suggestion. As this is the front page of http://www.techsupportforum.com, I don’t feel confident enough to make any changes, so will get Vertical Scope’s technical people to look at it.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Numbered lists changed to bulleted lists’ is closed to new replies.