Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Add Text Slideout Toggle

Home Forums Support Add Text Slideout Toggle

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #181128
    maggew

    I desire adding text “menu” to the left of slideout toggle.

    \gp-premium\addons\generate-menu-plus\functions\generate-menu-plus.php

    I can slip in some code on line #659. Is there a better way? I don’t wanna keep doing this after each update.

    <li class="slideout-toggle"><a href="#generate-slideout-menu" data-transition="overlay"></a></li>

    • This topic was modified 4 years, 8 months ago by maggew. Reason: format
    • This topic was modified 4 years, 8 months ago by maggew.
    • This topic was modified 4 years, 8 months ago by maggew.
    #181132
    maggew

    I’ve also played around with the idea of adding some css.

    li.slideout-toggle a:after {
        content: "menu";
        padding: 0 10px;
    }

    …what do you recommend? If I use the :before than the hamburger disappears.

    #181175
    Tom
    Lead Developer
    Lead Developer
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.