Okay
  Public Ticket #3533672
off canvas burger icon size
Closed

Comments

  •  1
    jdudan started the conversation

    Hello-

    How can I increase the size of the off canvas burger icon?  I would like to make it this size.

    https://www.rushriver-sacramento.com/

    Thank you!

  •  1,921
    Judith replied

    Hi there,

    Thanks for writing to us.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    body[data-header-search="false"]:not(.mobile) #header-outer[data-has-menu="false"][data-cart="false"] .lines-button {
        scale: 1.5;
        width: 1px !important;
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related

    If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 


  •  1
    jdudan replied

    Thanks for the quick reply!!

    That made the white bars inside the burger larger, but the burger itself is the same size.  We need to make BOTH the burger container and the inside lines larger together.

    Thank you!

  •  1
    jdudan replied

    Even better, if we can control the width/height of the burger container independently of the inside white icon, that would be amazing....

  •  3,001
    Andrew replied

    Hello again,

    Thank you for getting back to us.

    If you are referring to the section of the off canvas menu with the black background, add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend). You can adjust the padding until you get the size that works for you.

    @media only screen and (min-width: 1000px) {
      .navbar-toggler {
          padding: 2.5rem !important;
      }
    }

    Also, let us know if you want this adjusted for your mobile and tablet devices.

    Try that and let us know if this works for you.

    Thanks,

  •  8,939
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    body.material #header-outer:not([data-format=left-header]) #top nav>.buttons>.slide-out-widget-area-toggle {
        transform: scale(1.8);
    }

    Thanks


    ThemeNectar Support Team 

  •  1
    jdudan replied

    Thank you for the quick response! I have two questions...

    1 - Can I control the height & width of the burger black container only, and keep the animated icon separate from these values?  For instance, make it X % wider, and also a different X percentage taller?

    2 - Can I add padding to the right of the burger?  Every time I enlarge the burger it pushes to the right starts going out of the browser window (screenshot).

    Thank you!!!

    Attached files:  Screenshot 2023-11-30 at 10.37.06 AM.png

  •  1
    jdudan replied

    Oh yeah, and sorry to be so picky, but can I also control the roundness of the edges of the burger icon?  You guys rock!!!

  •  3,001
    Andrew replied

    Hello again,

    Thank you for getting back to us.

    1 & 3. To control the height and width of the black background, try adding this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    body #header-outer #top .slide-out-widget-area-toggle[data-custom-color="true"] a:before {
      height: 35px;
      width:55px;
      border-radius: 10px !important;
    }

    2. As for adding spacing on the right side of the screen, try adding this CSS and let us know if this works.

    #header-outer #top nav .slide-out-widget-area-toggle[data-custom-color=true]:not(.mobile-icon) a:not(.using-label) {
        width: 66px;
    }
    

    Try this and let us know if this works for you.

    Thanks,

  •  1
    jdudan replied

    This is all working perfectly and amazing.....the only thing I tried to fuss with and cannot do is adjust the padding ABOVE the burger icon now.  For instance, if I make the burger icon higher, it pushes beneath the toolbar.  Be great if I can fine-tune the padding above the burger, as I can now do to the right of the burger.

    After this I am completely 100% done, and you guys have been amazing and so responsive, I greatly appreciate you all!!

    Thanks.

    Attached files:  Screenshot 2023-12-01 at 1.29.29 PM.png

  •  3,001
    Andrew replied

    Hello there,

    Thank you for getting back to us.

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    body.material[data-header-format="default"] #header-outer[data-has-buttons="yes"]:not([data-format="left-header"]) #top nav >.buttons {
      padding-top: 20px;
    }
    

    Try this and let us know how it goes.

    Thanks,

  •  1
    jdudan replied

    Awesome!!!!  Thank you very much for all of your help and custom CSS, much appreciated and all is well.