- This topic has 21 replies, 3 voices, and was last updated 8 years, 1 month ago by
Leo.
-
AuthorPosts
-
February 17, 2018 at 4:20 am #498729
Janine
Hi.
How can I use the FontAwesome scissors (f0c4) for my bullet points?
I would like to be able to control the size and colour. Thank you!
February 17, 2018 at 8:58 am #498955Leo
StaffCustomer SupportHi there,
Couple solutions here: https://stackoverflow.com/questions/12468359/using-font-awesome-icon-for-bullet-points-with-a-single-list-item-element
February 17, 2018 at 9:35 am #498983Janine
Thanks, Leo. I will study it and see if I make it happen. Thanks!
February 17, 2018 at 11:09 am #499039Janine
Hi, Leo.
I found this code:
ul {
list-style: none;
}ul li {
padding: 5px 0 5px 30px;
position: relative;
}ul li:before {
content: ‘\f0c4’;
color: #222;
font-family: ‘FontAwesome’;
position: absolute;
top: 6px;
left: 5px;
}And this code:
li{
list-style-type: none;
}li:before {
content: “\f0c4”;
color: #222;
font-family: “FontAwesome”;
width: 10px;
height: 10px;
margin-right: 5px;
}But neither works.
I have the second one installed on my demo site because it was the simplest of the two. And it is changed both the ul and ol. It removed both bullets and numbering.
Link to demo site: http://2ea52d4b.ngrok.io/ul-ol-post/
Do you have any ideas? Thank you!
February 17, 2018 at 1:37 pm #499107Jamal
Hi
The following has worked for me, you might want to give it a try. This is the css i used
ul.scissor-list { list-style-type: none; margin: 0 0 1.5em 1.5em; } .scissor-list li { position: relative; padding-left: 25px; margin-bottom: 10px } .scissor-list li:before { position: absolute; top: 0; left: 0; font-family: FontAwesome; content: "\f0c4"; color: #d3782d; }But in your html you have to put the scissor-list class like this
<ul class="scissor-list"> <li> First item </li> <li> Second item </li> <li> Next items </li> </ul>February 17, 2018 at 2:52 pm #499135Janine
Hi, Jamal.
Thank you so much for your help. It did change. But I still don’t have the scissors icon.
February 17, 2018 at 5:15 pm #499205Leo
StaffCustomer SupportJust tested and Jamal’s method worked perfectly.
What are you seeing?
February 17, 2018 at 6:59 pm #499233Janine
Hi, Leo.
Here’s link to what I’m getting with Jamal’s meethod:
http://2ea52d4b.ngrok.io/ul-ol-post/
Thank you!
February 17, 2018 at 9:06 pm #499265Leo
StaffCustomer SupportMake sure load essential icons option is not checked.
February 18, 2018 at 4:04 am #499393Janine
Leo, where is this setting? Thank you.
February 18, 2018 at 6:03 am #499446Janine
Is it under General in the customizer: Cache dynamic CSS?
February 18, 2018 at 7:05 am #499564Leo
StaffCustomer SupportMeant to say load essential icons:https://docs.generatepress.com/article/general-settings-overview/
February 18, 2018 at 8:02 am #499590Janine
OMG, that worked and they look beautiful! Thanks, Leo.
February 18, 2018 at 8:04 am #499591Janine
Leo, do you think I will take much of a performance hit? Thank you!
February 18, 2018 at 8:08 am #499593Janine
And Jamal, I hope you get this message: Many thanks for your generosity! I appreciate it!
(Leo, let me know how I can pass on my message to Jamal. Thank you!)
-
AuthorPosts
- You must be logged in to reply to this topic.