Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

My custom mobile hamburger icon is not centered in the invisible hamburger box, how do I fix this?


Hello, I'm working on my new website and I've got my own little thing that I want as a mobile hamburger menu icon.

My problem is it does not center in the bounding box (term?), how do I fix this?

Image for reference:


Icon image adress:


CODE I'm using right now:

.burger-inner:after {
    content: "";
    background-image: url(https://i.imgur.com/DcVdG9q.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    background-color: transparent !important;
    display: block;
    width: 30px;
    height: 30px;
.burger-inner:before {display:none;}

Thanks before hand,


Edited by savedbybravado
Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...