Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1166992

    Hello Support,

    I have searched the support forums at length and cannot find a CSS solution for adding a Border Radius to the navigation menu. An effect of “no sharp edges anywhere, rounded corners only” is trying to be achieved through the entire website.

    Thanks in advance for any feedback you may be able to provide.

    #1167149

    Hey MLA18,

    I’m not sure I understand what you mean b the navigation menu, do you mean the mobile menu? If so then do you want to apply border radius to the flyout container?

    Best regards,
    Rikard

    #1167324
    This reply has been marked as private.
    #1167333

    Hey,

    Please add following code to bottom of Quick CSS field in Appearance > Editor

    .html_av-overlay-side #top #wrap_all div .av-burger-overlay-scroll #av-burger-menu-ul a:hover {
        border-radius: 100px;
    }

    Regards,
    Yigit

    #1167340

    Thank you for that, Yigit. However the burger menu is not what I am trying to change. The main header navigation menu is what I am trying to change the border radius on. A picture is linked below.

    Sorry for any confusion, and thanks for your help as always!

    #1167345

    Hi,

    Please use following code instead

    #top .av-main-nav ul ul, .av-main-nav > li > ul { background: transparent!important; border-top: none; }
    .av-main-nav ul li a { border-radius: 100px; }

    It should look like this – https://imgur.com/a/G2ehsXG :)

    Best regards,
    Yigit

    #1167360
    #1167364

    Hi,

    Please try switching the code to following one

    #top .av-main-nav ul ul, .av-main-nav > li > ul { background: transparent!important; border-top: none; }
    .av-main-nav ul li:first-child a {     border-top-left-radius: 100px;     border-top-right-radius: 100px; }
    .av-main-nav ul li:last-child a {     border-bottom-left-radius: 100px;     border-bottom-right-radius: 100px; }

    Best regards,
    Yigit

    #1167831
    This reply has been marked as private.
    #1167912

    Hi,

    I changed the code to following one and that did it :)

    .av-main-nav ul > li:first-child > a { border-top-left-radius: 6px; 
    border-top-right-radius: 6px;}
    
    .av-main-nav ul > li:last-child > a {border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;}

    Best regards,
    Yigit

    #1167972

    PERFECT!!!

    That’s exactly what I needed. As always, thank you so much for your help!

    #1167981

    Hi,

    Your menu looks really nice :)
    You are welcome! Let us know if you have any other questions or issues.

    Best regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Navigation Menu with Border Radius’ is closed to new replies.