Home › Forums › Basel support forum › Main Menu
Main Menu
- This topic has 9 replies, 3 voices, and was last updated 5 years ago by Elise Noromit.
-
AuthorPosts
-
April 17, 2019 at 7:37 am #119292
twococlothingParticipantMain Menu
Attachments:
You must be logged in to view attached files.April 17, 2019 at 1:58 pm #119418
Elise NoromitMemberHello,
As for the main menu, it is possible to implement the underline in this way: https://gyazo.com/61df1f4400f57b4513d1e2fa3b8b3e4c
If you accept this please add this CSS code to the Theme Settings > Custom CSS:
.basel-navigation .menu>li.menu-item-has-children>a:hover { text-decoration:underline; } .basel-navigation .menu > li.menu-item-design-default .sub-menu li a:hover{ text-decoration:underline; }
Best Regards
April 17, 2019 at 10:19 pm #119530
twococlothingParticipantHello first, thanks for the help but it should be like yours on the website of xtemos.com, if you go over the main menu buttons, with the mouse, should the gray underlined also makes this underscore hover effect. When you click the button or the bottom button, should the underlined be displayed. It would be great if the underscore has the same thickness as yours on the website.
Attachments:
You must be logged in to view attached files.April 18, 2019 at 11:38 am #119649
Elise NoromitMemberHello,
Considering different HTML structure is not possible to do exactly as on xtemos.com
Best Regards
April 18, 2019 at 9:34 pm #119778
twococlothingParticipantHello, I’m a real fan of your work but it would be great if you could get the underline-from-left-hover-effcet on the site like at xtemos.com.
I think many others of your customers would also like the function and make the website just still proffisonler. Could you bring this feature into the next Ubdate?April 19, 2019 at 8:15 am #119835
Bogdan DonovanKeymasterHello,
Sorry for the misunderstanding, but we need to first explain how this feature works on our xtemos.com site. Our studio made two e-commerce themes Basel (demo.xtemos.com/basel) and Woodmart (woodmart.xtemos.com). Site xtemos.com is built on Woodmart theme which has such option like “Underlined menu style”. For example, you can see it on our Woodmart demo pages like this one (https://woodmart.xtemos.com/demo-fashion/demo/fashion/).
As you can see from the Basel demo site it has no such menu style in theme design and unfortunately, we can’t easily transfer this style feature from one theme to another because of the different structure of theme menus. Changing this structure will affect the work of a thousands sites that already using our Basel theme.
Best Regards
April 21, 2019 at 3:18 am #120122
twococlothingParticipantIs it possible to make the underline thicker and to insert a distance how in the example image?
Is it possible that it is then inserted in all menu items?
(START, MEN, WOMEN, SALE%, LOOKBOOK)Attachments:
You must be logged in to view attached files.April 21, 2019 at 8:40 am #120156
Bogdan DonovanKeymasterHi,
Unfortunately, there are no padding and width properties for
text-decoration: underline
.To achieve look that you described you can use the provided code, but it can work only in the site main menu.
.menu-home-container .menu > .menu-item > a { position: relative; } .menu-home-container .menu > .menu-item:hover > a:before { content: ""; position: absolute; left: 13px; right: 13px; background-color: black; width: auto; height: 2px; bottom: 14px; }
April 21, 2019 at 9:45 am #120158
twococlothingParticipantThank you, she could also do the classes in the subcategories of MEN, WOMEN and SALE
Attachments:
You must be logged in to view attached files.April 22, 2019 at 8:19 am #120258
Elise NoromitMemberHello,
Remove this code:
.basel-navigation .menu>li.menu-item-has-children>a:hover { text-decoration:underline; } .basel-navigation .menu > li.menu-item-design-default .sub-menu li a:hover{ text-decoration:underline; }
And add this one:
.menu-home-container .sub-menu > .menu-item > a { position: relative; } .menu-home-container .sub-menu > .menu-item:hover > a:before { content: ""; position: absolute; left: 15px; right: 15px; background-color: black; width: auto; height: 2px; bottom: 9px; }
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register