Explore the community Forums Lectora Lectora Suggestions Paragraph Spacing Reply To: Paragraph Spacing

#368516 Score: 0
Profile photo of Jason Dalrymple
Jason Dalrymple
Member
beginner
intermediate
profile
wise owl
curious george
contributor
friend finder
advanced
picture perfect
54 pts
@JasonADal

I use a similar approach, thanks to Darrel’s guidance and some experimentation. I wanted to have the potential for different list types when using the Change Contents action and did not want to override the standard format of the ul tag. You could use something similar if you have a text block that does not have the Change Contents. This way, you can have different bullet styles to apply as needed.

/* Unordered list – style changes bullets */
.ulList {
list-style:disc;
margin-left: 60px;
}

/* Ordered list – list style type is number; upper/lower roman for roman values, upper/lower-alpha */
.alphaList {
margin-left: 70px;
list-style-type: upper-alpha;
}

/* Changes specific list item */
.colorList {
color: #ff0000;
}

I’m not sure why I used list-style on one vs. list-style-type on the other, so I’m going to double check to see if there was a method to that madness.