Sign in

making the simple theme even simpler – inverting the hamburger!

  • This topic has 2 replies, 2 voices, and was last updated 1 week, 5 days ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10571
    Avatar photobrizzlemark

    Hi all,

    site: https://mark.hysted.com

    I have been simplifying the template down, but I am now stuck in inverting the hamburger menu in tablet/phone mode.  By default it is black background with a white hamburger.  Trying to get a white background with black hamburger.  I have managed to change background (should show grey) but for the life of me can’t change the hamburger colour.

    Would have though it would track the set background and foreground for the top menu, but doesn’t seem so – hopefully someone’s CSS skills are better than mine – which is limited to pecking around with the website inspector! 🙂

    Many thanks – if you spot errors please shout.

    #10576
    Avatar photocandidexmedia

    Hi brizzlemark!

    As you may have guessed, for the background of the button:

    .navbar .navbar__toggle {
      background: white; /* or whatever colour value you prefer */
    }

     

    For the x itself:

    .navbar .navbar__toggle-inner, .navbar .navbar__toggle-inner::after, .navbar .navbar__toggle-inner::before {
      background-color: black; /* or whatever colour value you want to give it */
    }

     

    Capture-css-stuff

    #10579
    Avatar photobrizzlemark

    Excellent – thank you very very much.  Saved me much pecking about with web inspector.

    Devs: shouldn’t these settings match the foreground/bacground settings for the top bar, at least by default?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘making the simple theme even simpler – inverting the hamburger!’ is closed to new replies.