Home › Forums › WoodMart support forum › Add "Icon" to Non-Category Menu Item on "Browse Categories" Sidebar.
Add "Icon" to Non-Category Menu Item on "Browse Categories" Sidebar.
- This topic has 13 replies, 2 voices, and was last updated 4 years, 1 month ago by
Elise Noromit.
-
AuthorPosts
-
April 16, 2021 at 2:57 pm #283622
TLMGParticipantHello
I know that we are able to add an icon to the categories that then are visible on the sidebar (“Browse Categories”)… However, I am wondering if you can explain how to add an icon to a NON-CATEGORY menu item.
Please check the private information.
ALTERENATIVELY: If that is not possible… can we create a “Hidden Category” that is not visible in shop at all, but can be used in menu (to open megamenu) to have icon.
Essentially, we want to have a menu item on the sidebar that is only used to open a megamenu on the sidebar… but that also has an icon (so it matches the design of the category mega menus)
April 16, 2021 at 8:44 pm #283693
Elise NoromitMemberHello,
The menu item has a field for Fotnawesome icon https://prnt.sc/11jcpta
You can find more details here: https://xtemos.com/docs/woodmart/create-menu-2/
If you mean custom (image icons) you will need to add the class to each menu item and then add the images with custom CSS.
As for the categories, please read and find all the option here: https://xtemos.com/docs/woodmart/product-category-menu/
If you have any questions please feel free to contact us.
Best Regards
April 16, 2021 at 9:07 pm #283699
TLMGParticipantThank you for replying so quickly!
If you don’t mind, can you tell me the css code to use to add an image?
Also if you don’t mind, can you tell me the CSS to use to modify the color of one of the menu sections as well? Just the structure to make it any color so I can use to to build the CSS
Thank you!
Ps- how do I leave a 5 star review for you? Support has been amazing and so patient!
April 17, 2021 at 3:16 pm #283883
Elise NoromitMemberHello,
Please assign a class to a menu item and provide the correct site URL as well as image URL, I will provide custom CSS and you will use it for all where you want to change the image.
Best Regards
April 17, 2021 at 4:22 pm #283916
TLMGParticipantI am not sure how to add a class… Can you do it and explain how?
Information below.
April 18, 2021 at 9:31 am #284025
Elise NoromitMemberHello,
Please enter the menu item and find the field: https://prnt.sc/11mpth1
If you do not see this field, activate all in the top right Screen options.
Best Regards
April 19, 2021 at 3:18 am #284159
TLMGParticipantok I did it.
April 19, 2021 at 10:00 pm #284457
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.wd-nav-vertical > li.shopbytool > a { padding:12px 18px 12px 118px; background-image: url(https://www.minervatooldesign.com/wp-content/uploads/2017/06/chair-1.svg); background-repeat: no-repeat; display:inline-block; min-height:45px; min-width:136px; background-size:50%; }
When you insert your image, there may be a necessity to correct the background size, let me know if you need help.
Best Regards
April 19, 2021 at 10:37 pm #284462
TLMGParticipantPlease see private!
April 20, 2021 at 12:23 pm #284662
Elise NoromitMemberHello,
Please add this code instead to the Theme Settings > Custom CSS > Global:
.wd-nav-vertical > li.shopbytool > a { padding:12px 0 12px 80px; background-image: url(https://www.minervatooldesign.com/wp-content/uploads/2021/04/toolbox.png); background-repeat: no-repeat; display:block; min-height:45px; min-width:100px; background-size:25%; background-position:5% }
Best Regards
April 20, 2021 at 12:46 pm #284674
TLMGParticipantSee below.
April 20, 2021 at 7:42 pm #284779
Elise NoromitMemberHello,
The icon used as an image and the icon used as a background cannot have absolutely the same view.
As I told you this is a trick, there is no option to insert an image icon in the menu item. That is why I have had to set it as a background.
I suggested you a workaround, I see it is not suitable for you, please delete all the custom CSS.
Please use the default theme options.
Best Regards
April 21, 2021 at 2:26 pm #285121
TLMGParticipantYes — but can we not fix it so that the spacing and sizing is matching? This one is 1/3 the size and the text is all the way to the left (doesn’t even line up with the other navigation texts)
April 22, 2021 at 8:36 am #285426
Elise NoromitMemberHello,
The image on the background is very difficult to fit the exact sizes.
Sorry.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register