Hey,
I'm currently using the brooklyn theme and I want to change the size of the hamburger menu on the left as well as the icons on the right; I would like to increase their size and make them more prominent. Could you please guide me through the coding process?
I've attached an image below for some context. Thank you for your help in advance!
Solved! Go to the solution
This is an accepted solution.
Hey there, @Nas33
Bo here from Shopify Support!
I just moved your query over here to the Design board as this is where a lot of people would come for all sorts of design queries. This is something that can definitely be achieved with some coding. This tutorial is specific to an unedited version of the Brooklyn theme, VERSION 12.0.1. We cannot guarantee results for themes that have been modified with custom coding and/or apps. We suggest hiring a Shopify Expert if you are not comfortable proceeding with the following tutorial, or wish to make any variations to this tutorial.
NB: When editing the CSS of your theme it is always a good idea to duplicate your theme first and making the changes on the duplicate. This will prevent any errors from occurring on your live site. We also recommend adding CSS to the bottom of the file as opposed to altering the preexisting code. The new code will overwrite the previous code.
.burger-icon { width: 40px; height: 2px; }
.burger-icon--top { top: 11px; } .burger-icon--mid { top: 24px; } .burger-icon--bottom { top: 37px; }
.site-nav__link--icon { font-size: 1.2em; }
Let me know how this goes and if there is anything else I can assist you with, I'm happy to help!
All the Best,
Bo
Bo | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hey there, @Tomeiwines
Adding this to the bottom of the same file should do the trick:
@media only screen and(max-width:768px){
.burger-icon {
width: 18px;
height: 2px;
}
.burger-icon--top {
top: 17px;
}
.burger-icon--mid {
top: 24px;
}
.burger-icon--bottom {
top: 31px;
}
}
Let me know how this goes and if there is anything else I can assist you with, I'm happy to help!
All the Best,
Bo
Bo | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
User | Count |
---|---|
566 | |
208 | |
121 | |
82 | |
45 |