Suco
May 20, 2024, 11:15pm
1
Hello guys, I put a code to paste the menu on the left side on the home page but I saw that later when I go to the product page it changes the arrangement as it is in the image below, I wanted to align as it is on the home page without removing the menu on the left side
I use refresh theme
https://www.behumblee.com/
Pass-Humblee3030
Thanks a lot
Hi @Suco ,
You can try this code by following these steps:
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file base.css, theme.css or styles.css
Step 3: Insert the below code at the bottom of the file → Save
@media (max-width: 988px) {
.header .header__heading-link {
margin-right: auto !important;
}
}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you
Hello @Suco
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
@media only screen and (max-width: 989px) {
.header--mobile-left .header__heading-link{
margin-right: auto !important;
}
}
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hello @Suco ,
Need to add code into base.css file
@media(max-width:768px){
.header.header--top-left header-drawer{
flex: 1 1 50%;
}
.header.header--top-left .menu-drawer-container{
flex: 1 1 200%;
}
}