I'm trying to get a portfolio site together, and I need help in using the flexslider. I tried using it, but there is something wrong in my CSS part that is preventing my page from rendering properly.
Asked
Active
Viewed 4.5k times
8
-
4Please show us code. We can't help you if we can't see the code you are using. – Sumner Evans Nov 18 '16 at 05:46
-
Some context not provided in *any* of the answers: [list-style-type](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type) - *"none. No item marker is shown."*" – Peter Mortensen May 31 '22 at 12:54
-
1Or [I need an unordered list without any bullets](https://stackoverflow.com/q/1027354) – gre_gor May 31 '22 at 13:07
3 Answers
24
Try it:
ol li{
list-style-type: none;
color: blue;
}
<ol>
<li>1.1</li>
<li>2.2</li>
<li>3.3</li>
<li>4.4</li>
</ol>

Peter Mortensen
- 30,738
- 21
- 105
- 131

Razia sultana
- 2,168
- 3
- 15
- 20
-
2An explanation would be in order. E.g., what is the idea/gist? From [the Help Center](https://stackoverflow.com/help/promotion): *"...always explain why the solution you're presenting is appropriate and how it works"*. Please respond by [editing (changing) your answer](https://stackoverflow.com/posts/40670629/edit), not here in comments (***without*** "Edit:", "Update:", or similar - the answer should appear as if it was written today). – Peter Mortensen May 31 '22 at 12:51
7
Use
ol li{
list-style: none;
}
or
ol li{
list-style: none!important;
}

Peter Mortensen
- 30,738
- 21
- 105
- 131

Je.
- 71
- 1
- 1
-
9Welcome to Stack Overflow! Please include a little bit more explanation in your answer: not just the code, but what the code *means* and why it answers the question. – RJHunter Nov 18 '16 at 06:11
3
You can achieve this using CSS:
ol li{
list-style-type: none;
}
<ol>
<li>1</li>
<li>2</li>
<li>3</li>
</ol>

Peter Mortensen
- 30,738
- 21
- 105
- 131

Jyothi Babu Araja
- 10,076
- 3
- 31
- 38