Support » Fixing WordPress » Customize mobile nav button

  • Resolved etiennedelorieux

    (@etiennedelorieux)


    Hello everyone,

    As a designer, I’m currently creating my onw theme for my portfolio. Important point: I use the starter theme Underscores_.

    Now I’m stuck with the mobile navigation button: at the moment, it is a classical <button> with the text “Primary button”, and I want to customize it. Actually, I would like to replace it with a classic hamburger button that I would code myself.

    So my question is: where in the WP files can I find the code for this button?

    I hope I’m clear enough! Thanks in advance for you answers.
    Etienne

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,
    It not so hard.
    Go to your WP theme directory (wp-content > themes > your theme folder) and choose header.php and open it in any editor.
    Edit line no 46 which contains that [Primary Button] text.
    Hope you will edit this with your code.
    Thanks.

    etiennedelorieux

    (@etiennedelorieux)

    Thanks, it’s all fine now!

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