Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1476144

    Hello,

    Is it possible to change the menu text on hover?
    For example, the menu text says “Go,” and on hover, it changes to “Stop.”

    Best regards

    #1476155

    Hey northorie,
    To change the menu text of the “home” menu item from “home” to “go” on hover, you will first need to know the menu item ID,
    for example “#menu-item-3638” then adjust this css to suit:

    ul.menu li#menu-item-3638 a:hover .avia-menu-text {
      color: transparent; 
      justify-content: center;
      display: inline-flex;
      flex-direction: column-reverse;
    }
    
    ul.menu li#menu-item-3638 a:hover .avia-menu-text::after {
      content: "Go";
      color: black;
      justify-content: center;
      display: inline-flex;
    }

    Screen Shot 2025 02 01 at 8.42.35 PM
    Screen Shot 2025 02 01 at 8.44.11 PM
    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.