![]() ![]() Where #6d6306 is the HTML color code you want to use as the background color. This is probably the hardest part because you will need to add the following CSS code in your theme: For example, you can add the current year(2018) at the end of it, like we did(mynewclass2018). ![]() Then add a CSS Class, this has to be unique and not used from your theme so make sure you come up with one that is hard to guess. Stay on the Menu page and select the menu item you’re looking to change its background. ![]() Add a CSS class in your WordPress menu item(s) Go to your Menu page, then scroll up and find the Screen Options option on the right part of your screen, click and it enable the CSS Classes Option. Enable your WordPress Menu CSS Classes feature Below we’ll show you how to enable and use WordPress Menu CSS Classes to change how your menu looks like. Most of you may have never seen or knew about it because it remains hidden by default so you need to enable it first. For example, we’re proud about our WordPress Malware Removal Services so we wanted to feature this service in our top menu and make it show under a different background color so it will stand out from the other menu items.įor this task, we used the WordPress Menu CSS Classes feature which comes with the default WordPress setup. There are times where you want one of your WordPress menu items to have a bolder look. How to use the WordPress menu CSS Classes feature ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |