You can achieve this by first adding one of the 4 following CSS classes to your menu items: primary info success danger
To add CSS classes to any menu item, please navigate to its “Appearance > Menus” and then select your “Features – Homepage” menu. Then, paste the wanted code in the “CSS Classes” text field. (If the text field is hidden, open the “Screen options” tab at the top right of your screen and check the “CSS Classes” box.)
You can also change the icons by choosing one of the following if necessary: https://fontawesome.com/v4.7.0/icons/
For example, just replace fa fa-lock by fa fa-bell to display a bell icon instead of the lock icon.
These HTML markups: <span class="menu-image-title"><span class="icon-wrapper"><i class="fa fa-lock" aria-hidden="true"></i><span class="h5 d-block">Your Data are Safe</span></span></span>
become: <span class="menu-image-title"><span class="icon-wrapper"><i class="fa fa-bell" aria-hidden="true"></i><span class="h5 d-block">Your Data are Safe</span></span></span>
Finally, you can also change their colors in the Customizer by visiting “Appearance > Customize > Community”. You will 6 color pickers among which 5 will affect these classes:
Love Buttons Color -> primary
Message Buttons Color -> info
Success Buttons Color -> success
Delete Buttons Color -> danger
Miscellaneous Buttons Color -> (default)
Please note that these colors changes will impact other components of your theme, like the BuddyPress action buttons in your members directory page.
The topic ‘Colours in the "Featured-Homepage" menu?’ is closed to new replies.
Troubleshooting Demo Imports
You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.