Support » Theme: Longevity » Change text in toggle menu

  • Resolved Klaus Moll

    (@klaus-moll)


    Hi Longevite Team,
    I find the theme wonderful and use it on a German site. How can I change the text “MENU” in the toggle menu? I would like to have the text “Auswahl” there.
    Thanks in advance and greetings
    Klaus

    PS: the link goes to a development environment. The site is not live yet.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    Hello @klaus-moll,

    There are number of free and premium plugins you can choose to translate your website.
    Here is the reference

    Thanks!

    Hello, thanks for the quick answer. But that is not my question. I just want to change the text in the button. If I change the page in responsiv mode (mobile phone) the menu is hidden and only the button “Menu” appears. I just want to change this word to a German word (Auswahl). In the customizer I don’t find a way to change that.
    many greetings
    Klaus

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Hello @klaus-moll,

    You can modify the template inside; wp-content/themes/longevity/template-parts/header.php
    For reference; Search menu-toggle inside the template then replace the text Menu as follows; <button class="menu-toggle"><?php esc_html_e( 'Auswahl', 'longevity' ); ?></button>

    Before proceeding make sure you use the child theme(copy the file structure exactly in your child theme) and make the desired changes so that your custom changes won’t lost upon further theme updates.
    Here is the reference on working with child theme

    Let us know,

    Thanks!

    Hello, thanks for the info. I made the change (is still active) in the “/template-parts/header.php”. But “MENU” will still be output. What have I done wrong?
    Greetings
    Klaus

    Hello, I was too quick with my answer. The header php contains the term “Menu” twice. I don’t know why? I made the change at the second place below and it works. Thanks for the help!
    Greetings
    Klaus

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Hello @klaus-moll,

    Yes, those are the conditions for different header styles you can choose from. If it is working now, we suggest you to please mark the thread resolved.

    Let us know

    Thanks!

    Many thanks for the fast help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change text in toggle menu’ is closed to new replies.