Tagged: custom menu
-
AuthorPosts
-
October 25, 2020 at 5:26 pm #1255516
Hello! I am building a site with Enfold – the previous site was also a WP site but built with the Montezuma Theme. The client really wants to replicate the menu on the old site, and I gotten close, but have not completely been able to figure out how to make it work. Can you let me know if something like this is even possible to customize with Enfold? She loves how the menu options “drop down.” She would also like to recreate the “strap” decoration that extends alongside the header on the page background.
When using a background image in the menu, I can’t figure out how to only make one part of the menu clickable, not the whole thing.
Any help or insight you can offer is greatly appreciated!
Links sent in private content.
Thanks so much!
NikoleOctober 29, 2020 at 5:53 am #1256577Hey bewelltended,
Thank you for the inquiry.
You should be able to add the strap image as the background of the menu container or as a separate element beside the logo. In the previous site, the strap is attached to the logo and the html looks like this.
<div id="logo-area"> <a href="https://thestrapsaver.com"> <img class="trueleft col12 logo-top" src="https://www.thestrapsaver.com/wp-content/uploads/logo960.png" alt="The Strap Saver Logo"></a></div>
The hover effect is done using css.
nav #menu1 li:hover { --height: 73px; } #menu1 a:hover, #menu1-smooth a:hover, #menu1 .active a, #menu1-smooth .active a { background-color: #ed1d84; } #menu1 li:hover .li-spacer-white, #menu1 li.active .li-spacer-white { display: block; height: 4px; background-color: #fff; }
The li-spacer-white container does not exist in the theme’s default menu but you might be able to recreate it by applying a top margin above the menu item on hover.
Best regards,
IsmaelJanuary 21, 2021 at 4:21 pm #1274430I don’t think I responded, but this thread can be closed now.
Thanks so much for all of your help!
Nikole
January 22, 2021 at 5:50 am #1274611 -
AuthorPosts
- The topic ‘Custom Menu’ is closed to new replies.