Community Forums › Forums › Archived Forums › Design Tips and Tricks › Problem getting ol li to show in Metro
Tagged: css, Metro, ordered list
- This topic has 7 replies, 2 voices, and was last updated 11 years, 6 months ago by Doug.
-
AuthorPosts
-
July 8, 2013 at 2:47 pm #49849DougMember
Hello,
I am having difficulty getting my ol li to show as a numbered list; could anyone shed some light for me?
The url is: http://dev.health-safetysolutions.com/e-learning/
This content in the right sidebar should be in an ordered list:
<div id="Elearning">
- Go to http://health-safetysolutions.com/360training.com
- Select a Course Library (Construction, General Industry, Hazardous Waste).
- Select the desired course by clicking on the check box located next to the course title, and then “add to cart.”
- Verify the course title and quantity and click on the “checkout and proceed” button.
- Provide student information on the registration page and click on “information correct proceed with registration.”
- On the billing page, select method of payment, fill in the appropriate data fields and click on “information correct proceed with registration.”
- The next page will show a confirmation receipt, with student’s login information.
- Proceed to take the course.
</div>
Thank you,
http://dev.health-safetysolutions.com/e-learning/
DougJuly 8, 2013 at 3:12 pm #49854David ChuParticipantHi,
They're there, but hiding. A little pinch of left margin will bring them in:.sidebar ol li { margin-left: 40px; }
Adjust to taste. 🙂
Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
July 8, 2013 at 3:54 pm #49866DougMemberHi Dave
I tried this; but, it's still not working:
#Elearning ol li {
margin-bottom: .5em;
margin-left: 40px;
margin-left: 2.5rem;
}Am I missing something?
Thank you!
DougJuly 8, 2013 at 4:54 pm #49878David ChuParticipantYup, your new code is at a teeny responsive level. You'll want that command at all levels. 🙂
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
July 8, 2013 at 5:12 pm #49882DougMemberDavid,
It's still not working...
I have taken away the responsive code and given the ol a class of .entry-content; and, it still won't work:
- Go to http://health-safetysolutions.com/360training.com
- Select a Course Library (Construction, General Industry, Hazardous Waste).
- Select the desired course by clicking on the check box located next to the course title, and then “add to cart.”
- Verify the course title and quantity and click on the “checkout and proceed” button.
- Provide student information on the registration page and click on “information correct proceed with registration.”
- On the billing page, select method of payment, fill in the appropriate data fields and click on “information correct proceed with registration.”
- The next page will show a confirmation receipt, with student’s login information.
- Proceed to take the course.
=======
06 Lists
---------------------------------------------------------------------------------------------------- */.entry-content ol,
.entry-content ul {
margin-bottom: 26px;
margin-bottom: 1.625rem;
}.entry-content ol li,
.entry-content ul li {
line-height: 1.625;
}.entry-content ol li,
.entry-content ul li {
margin-left: 40px;
margin-left: 2.5rem;
}.entry-content ol li {
list-style-type: decimal;
}.entry-content ul li {
list-style-type: disc;
}.entry-content ol ol,
.entry-content ul ul {
margin-bottom: 0;
}/*
====================
Sorry to bother you, Dave; this is really bumming me out.Doug
July 8, 2013 at 5:23 pm #49888DougMemberDave,
My mistake: I fixed it:
I needed to code a div with a class of entry-content around the whole ol.
Thank you VERY MUCH for your time and valuable help. I deeply appreciate it!!!
Peace, Doug
July 8, 2013 at 5:57 pm #49898David ChuParticipantDoug,
Glad you got it sorted!I don't get asked for OL's that often, but I think they look great.
D
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
July 8, 2013 at 7:27 pm #49916DougMemberYeah, Dave
Especially when there are instructions or directions to be followed in a certain sequence.
Namasté,
Doug 🙂 -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.