• I think there must be a way to remove “Menu” and “Search” text from the header. Is there a setting I’m missing?

    I can remove it with this custom css:

    span.toggle-text {
    	display:none
    }

    But that seems less than ideal. And the fact that the class is called toggle-text makes me think there must be some way to toggle it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User 14254218

    (@anonymized-14254218)

    You can use header span.toggle-text otherwise you might have to create a child theme and edit the header.php file for this if the css display:none is not enough.

    Thread Starter bhkh

    (@bhkh)

    So when I look at the official “Introducing Twenty Twenty” post here

    Introducing Twenty Twenty

    You can see that the text is removed in the header. That’s what makes me think that there is an easier way to remove it.

    Anonymous User 14254218

    (@anonymized-14254218)

    If you take a look at the header.php file (especially lines 53, 76 and 137) you can see those span elements being coded into the theme without any if conditions meaning you only have the 2 options mentioned above or additionally changing the translations of “Menu” to be empty “” on the textdomain “twentytwenty” which I would not recommend at all.

    The introduction screenshots either have been taken from an earlier stage of the theme (e.g. during development) or one of the noted methods has been used.

    Since I am not a developer of this theme, but a regular developer, I can only tell you what the code reveals.

    Thread Starter bhkh

    (@bhkh)

    Thank you so much! I really appreciate you took so much time to check this out for me.

    Also thank you for improving my css.

    Anonymous User 14254218

    (@anonymized-14254218)

    You are very welcome. Sorry I could help you further.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove “Menu” and “Search” text from the header?’ is closed to new replies.