Shopify themes, liquid, logos, and UX
Thanks in advance!
I am looking to make the lines in between my menu drawer items shorter (on both sides of the drawer). Example shown below.
How my site looks:
How I would like my site to look:
https://decemberschild.com
password: dc
Solved! Go to the solution
This is an accepted solution.
@MMast You can add this CSS code at the bottom of "theme.css" or "base.css" file:
.menu-drawer__navigation .menu-drawer__menu {
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
.menu-drawer__navigation .menu-drawer__menu li {
width: 80%;
}
If you want those lines to be a little longer, just increase the percentage, 85%, 90%.
If it works, please mark my reply as resolution.
SIMICART: Mobile App Builder |Ironwork Theme - Coming Soon | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
Yes, @MMast . Add this line right after the code I just gave you above:
.menu-drawer__navigation .menu-drawer__menu li a {
padding-left: 0 !important;
}
Here, result:
If it works, please mark my 2 replies as resolutions.
SIMICART: Mobile App Builder |Ironwork Theme - Coming Soon | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
@MMast , add all this CSS code at the bottom of "theme.css" or "base.css" file:
.menu-drawer__navigation .menu-drawer__menu {
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
.menu-drawer__navigation .menu-drawer__menu li {
width: 80%;
}
.menu-drawer__navigation .menu-drawer__menu li a {
padding-left: 0 !important;
}
SIMICART: Mobile App Builder |Ironwork Theme - Coming Soon | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
@MMast You can add this CSS code at the bottom of "theme.css" or "base.css" file:
.menu-drawer__navigation .menu-drawer__menu {
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
.menu-drawer__navigation .menu-drawer__menu li {
width: 80%;
}
If you want those lines to be a little longer, just increase the percentage, 85%, 90%.
If it works, please mark my reply as resolution.
SIMICART: Mobile App Builder |Ironwork Theme - Coming Soon | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Is there a way to make the menu items align with the left side of the lines?
Example:
This is an accepted solution.
Yes, @MMast . Add this line right after the code I just gave you above:
.menu-drawer__navigation .menu-drawer__menu li a {
padding-left: 0 !important;
}
Here, result:
If it works, please mark my 2 replies as resolutions.
SIMICART: Mobile App Builder |Ironwork Theme - Coming Soon | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
@MMast , add all this CSS code at the bottom of "theme.css" or "base.css" file:
.menu-drawer__navigation .menu-drawer__menu {
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
.menu-drawer__navigation .menu-drawer__menu li {
width: 80%;
}
.menu-drawer__navigation .menu-drawer__menu li a {
padding-left: 0 !important;
}
SIMICART: Mobile App Builder |Ironwork Theme - Coming Soon | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025