I was trying to make an alphabetic list today, but neither

<ol style="list-style-type: lower-alpha"></ol>

Or
<ol class="lalpha"></ol>

The lalpha class was injected with CSS Injector module, I also tried putting the class in style.css, but no effect. Lists are still numbered, like list-style-type: decimal. I also checked with Firebug in Firefox, the CSS class is applied, so no typos there.

Changing to Garland makes the list alphabetical.

I don't know where to fix the problem though, but I would look into it if someone has a few pointers.

Comments

Lioz’s picture

hi!

you have to change this piece of code in style.css (line 703)

#primary .singlepage .node .content ol li{ /*ordered lists in node content*/
font-size:0.875em;
margin:3px 0 3px 22px;
<strong>list-style-type:lower-alpha;</strong>
}

let me know if it works!

makro’s picture

Thanks, worked like a charm (almost).

I commented out the line you mentioned (703), that made all my ordered lists behave like unordered, due to line 697 (list-style:square;) styling all list items. Commenting out that one as well solves my problem - ordered lists by default are numeric, but I can make them alphabetic (both with CSS injector and using the style attribute).

Does this cause any trouble? If not, why not remove the mentioned lines? Doesn't seem like a problem to me.

oadaeh’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

This issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.