Home › Forums › Support › Primary menu – round corners on hovers This topic has 6 replies, 3 voices, and was last updated 1 year, 10 months ago by Fernando. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts June 12, 2022 at 6:09 am #2250875 ammgbr Hello, I have used the following CSS provided to a previous user for the purpose of creating rounded corners on the primary menu on hover: .main-navigation .main-nav ul li a:hover { border-radius: 3px; } The issue is when I hover on to a submenu item, the initial menu category no longer has rounded outline. I would appreciate any input. June 12, 2022 at 11:59 am #2251244 YingStaff Customer Support Hi there, Try change your CSS to this: .main-navigation ul li.menu-item.sfHover a, .main-navigation .main-nav ul li:hover a { border-radius: 3px; } June 12, 2022 at 1:09 pm #2251313 ammgbr Thank you Ying, that works 🙂 June 12, 2022 at 3:37 pm #2251375 ammgbr May I clarify: what is the maximum px value that can be used? I tried making the hover background thinner but I think it won’t go beyond 25px? Many thanks June 12, 2022 at 8:46 pm #2251487 Fernando Customer Support Hello there, The max would be radius of an imaginary circle that may be created in relevance to the corners of your container. In your container, the max radius would be 22.5px since the height of your container is 45px. See this for a more in-depth explanation: https://stackoverflow.com/questions/29966499/border-radius-in-percentage-and-pixels-px-or-em#:~:text=Pixel%20and%20other%20units Hope this clarifies! June 12, 2022 at 11:57 pm #2251579 ammgbr Many thanks for you reply, that clarifies this June 12, 2022 at 11:58 pm #2251581 Fernando Customer Support You’re welcome! Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In