Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. burger menu on different color

burger menu on different color

Scheduled Pinned Locked Moved General Discussion
mobile menuburger menucolorcss
5 Posts 3 Posters 168 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    horacio22
    wrote on May 1, 2023, 11:04 PM last edited by
    #1

    So, I was able to change the burger menu color in one page -bio page, that has a grey color background-, with this code in the mobile CSS

    .slug-bio .burger span, .burger span:after, .burger span:before {
        background: white;
    }
    

    All good. The issue is that in the homepage where the burger should look black, this happens:

    Captura de pantalla 2023-05-01 a la(s) 19.34.08.png

    Only 1 line from the burger appears. I can't find how to fix it. If I use the above code for the homepage as well, then the white menu gets broken. Anyone knows how to do it?

    Thanks in advance,
    Cheers

    1 Reply Last reply
    1
    • Z Offline
      Z Offline
      zochovsky
      wrote on May 2, 2023, 1:51 PM last edited by
      #2

      Do you use the new burger with two horizontal lines instead of three?

      H 1 Reply Last reply May 2, 2023, 5:52 PM
      0
      • Z zochovsky
        May 2, 2023, 1:51 PM

        Do you use the new burger with two horizontal lines instead of three?

        H Offline
        H Offline
        horacio22
        wrote on May 2, 2023, 5:52 PM last edited by
        #3

        @zochovsky No. The 3 line burger.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          arminunruh
          Global Moderator
          wrote on May 2, 2023, 7:29 PM last edited by
          #4

          do this

          .slug-bio .burger-default span,
          .slug-bio .burger-default span:before,
          .slug-bio .burger-default span:after{
          background: white;
          }
          
          H 1 Reply Last reply May 2, 2023, 8:07 PM
          1
          • A arminunruh
            May 2, 2023, 7:29 PM

            do this

            .slug-bio .burger-default span,
            .slug-bio .burger-default span:before,
            .slug-bio .burger-default span:after{
            background: white;
            }
            
            H Offline
            H Offline
            horacio22
            wrote on May 2, 2023, 8:07 PM last edited by
            #5

            @arminunruh said in burger menu on different color:

            .slug-bio .burger-default span,
            .slug-bio .burger-default span:before,
            .slug-bio .burger-default span:after{
            background: white;
            }

            That worked! Thanks man.

            1 Reply Last reply
            1
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes

            2/5

            May 2, 2023, 1:51 PM


            I also code custom websites or custom Lay features.
            💿 Email me here: 💿
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            F
            felix_rabe
            21 minutes ago
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            2 out of 5
            • First post
              2/5
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search