Tagged: Advanced Customization, Crio
- AuthorPosts
- August 16, 2022 at 8:55 pm #56058David GreenbergGuest
Hey Guys,
I’m getting a new weird behavior on my main menu (desktop) when hovering over a submenu item.
Here’s a short screen capture of the issue:
Here’s the CSS code:
/* for the top menu, reduce padding */
.standard-menu-enabled .sm-clean a,
.standard-menu-enabled .sm-clean a:hover {
padding: 5px 15px 5px 15px;
}August 16, 2022 at 8:59 pm #56070Brandon CKeymasterHi David,
Thanks for reaching out with your detailed screen capture and thank you for using Crio Pro WordPress theme!
I think you have everything correct with your custom CSS but you might need to add an
!important
tag to your element like below:/* for the top menu, reduce padding */ .standard-menu-enabled .sm-clean a, .standard-menu-enabled .sm-clean a:hover { padding: 5px 15px 5px 15px !important; }
I hope this helps! Please don’t hesitate to reach back out if you have any other questions for us.
August 17, 2022 at 3:45 pm #56113David GreenbergGuestThanks for your help, and your quick reply!
August 17, 2022 at 3:46 pm #56115Brandon CKeymasterYou’re most certainly welcome David, we’re always here to help!
- AuthorPosts
- The topic ‘Padding issue when hovering over sub-menu item in Crio WordPress theme’ is closed to new replies.