- This topic has 11 replies, 3 voices, and was last updated 6 years, 9 months ago by
Tom.
-
AuthorPosts
-
July 2, 2016 at 6:47 am #205987
Joyce Hollman
Is there a way to change the round bullets to something else, like check marks? I’ve seen it done on others’ sites using Generate Press. Anyone know how? Thanks!
JoyceJuly 2, 2016 at 8:32 am #206003Tony K Boatright
I have the same question. Are wingding and webwing fonts available?
July 2, 2016 at 10:30 am #206035Max
Hey Joyce and Tony
Generatepress already has Fontawesome icons installed.
You can see the full range of those icons here:
http://fontawesome.io/cheatsheet/
If you want to use any of the icons as bullet points you can.
For example, create a new wp page and then click on the text tab and past in the following code:
<ul> <li><i class="fa-li fa fa-check-square"></i>List icons</li> <li><i class="fa-li fa fa-check-square"></i>can be used</li> <li><i class="fa-li fa fa-spinner fa-spin"></i>as bullets</li> <li><i class="fa-li fa fa-square"></i>in lists</li> </ul>
Then publish your new page and view it in your browser to check out the result.
There are more examples of how to use fontawesome icons here:
http://fontawesome.io/examples/
Kind Regards
Max
July 2, 2016 at 10:51 am #206043Tom
Lead DeveloperLead DeveloperGreat tip, Max!
The only thing you’re missing in the
<ul>
class:<ul class="fa-ul"> <li><i class="fa-li fa fa-check-square"><!-- icon --></i>List icons</li> <li><i class="fa-li fa fa-check-square"><!-- icon --></i>can be used</li> <li><i class="fa-li fa fa-spinner fa-spin"><!-- icon --></i>as bullets</li> <li><i class="fa-li fa fa-square"><!-- icon --></i>in lists</li> </ul>
You’ll also want to add an HTML comment inside the icon element like I did above to prevent WP from stripping the tags.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJuly 2, 2016 at 10:53 am #206045Max
I actually deleted that class because I though it referenced to the css on the fontawesome page??
Is it some kind of native settings that installs with the icons?
-
This reply was modified 6 years, 9 months ago by
Max.
July 2, 2016 at 10:54 am #206046Tom
Lead DeveloperLead DeveloperNope, it sets the li elements as relative, and removes the default bullets for the list π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJuly 2, 2016 at 11:06 am #206055Max
Yep. Got it..just tested without the class and doesn’t work.
I didn’t realise because I never do it that way I usually just insert where needed.
I am running this in one of my sidebar text widgets and it looks great.
Would be happy/grateful for you to proof it for me.
<div class="grid-container"> <div class="grid-50 tablet-grid-50 mobile-grid-100"> <p style="margin-bottom:5px; margin-top:5px;"><a href="http://localhost/forum/hot-topics/"><i class="fa fa-sign-out fa-lg fa-fw"><!-- HTML comment --></i>Hot Topics</a></p> <p style="margin-bottom:5px;"><a href="http://localhost/forum/search/"><i class="fa fa-sign-out fa-lg fa-fw"><!-- HTML comment --></i>Search</a></p> </div> <div class="grid-50 tablet-grid-50 mobile-grid-100"> <p style="margin-bottom:5px;"><a href="http://localhost/forum/new-users/"><i class="fa fa-sign-out fa-lg fa-fw"><!-- HTML comment --></i>New Users</a></p> <p style="margin-bottom:5px;"><a href="http://localhost/forum/faqs/"><i class="fa fa-sign-out fa-lg fa-fw"><!-- HTML comment --></i>FAQs</a></p> </div> </div>
Kind Regards
Max
-
This reply was modified 6 years, 9 months ago by
Max.
-
This reply was modified 6 years, 9 months ago by
Max.
July 2, 2016 at 11:08 am #206058Tom
Lead DeveloperLead DeveloperYep that will work – I prefer using lists though π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJuly 2, 2016 at 11:21 am #206064Max
I know that css belongs in the style sheet, but is there anything terribly wrong with making my small margin stylings inline in the paragraph (and also styling the icon color)? It is just so much quicker and easier than creating a separate class, if you are a newb like me.
July 2, 2016 at 11:21 am #206065Tom
Lead DeveloperLead DeveloperIt’s not terrible for one off changes like that – just don’t do it for everything π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJuly 2, 2016 at 11:44 am #206071Max
So for my example above, if I remove the outer grid-container div and just have the two remaining 50-50-100 divs it will be ok?
-
This reply was modified 6 years, 9 months ago by
Max.
July 2, 2016 at 12:40 pm #206083Tom
Lead DeveloperLead DeveloperYep that should work fine, you might just have to clear the float if you do that.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
This reply was modified 6 years, 9 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.