Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1470156

    Hello, is there anyway to make the button color in the menu navigation a gradient?

    #1470176

    you can see it here even with animation on Main Menu “Impressum” : https://webers-testseite.de/
    If you do not need that animation – remove that part from rules and set the background-size to 100%.

    You can select that menu-item via ID
    and do something like this:

    #menu-item-ID .avia-menu-text {
      color: #fff;   /**** perhaps an !important is necessary ****/
      background: linear-gradient(-45deg,#FFA63D,#FF3D77,#338AFF,#3CF0C5);
      background-size: 600%;
      border: none !important;
      animation: anime 14s linear infinite;
      padding: 11px 20px !important;
      border-radius: 0 0 10px 10px !important;
    }
    
    @keyframes anime {
      0% { background-position:0% 50% }
      50% { background-position:100% 50% }
      100% { background-position:0% 50% }
    }
    
    #1470264

    That Animation looks great how would I apply this to my button?

    #1470273

    you have to know your menu-item ID
    i – as a Participant – can not see private content area.

    #1470302

    Hi,

    We adjusted the css code a bit:

    #menu-item-691 .avia-menu-text {
        color: #fff;
        background: linear-gradient(-45deg,#FFA63D,#FF3D77,#338AFF,#3CF0C5);
        background-size: 600%;
        border: none !important;
        animation: anime 14s linear infinite;
        padding: 11px 20px !important;
        overflow: hidden;
    }
    
    @keyframes anime {
      0% { background-position:0% 50% }
      50% { background-position:100% 50% }
      100% { background-position:0% 50% }
    }

    Best regards,
    Ismael

    #1470362

    Thank you so much! 5 Stars!

    #1470388

    Hi,

    No problem! Glad @Guenni007 helped. Please feel free to open another thread if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Menu button gradient?’ is closed to new replies.