Hello all, I am trying to push the homepage header buttons in towards the center of the screen, maybe 25% margins on the right and left. Is this possible? I don’t know if I’m explaining it right, so just let me know what questions you have. Thank you!
www.shortcomings.store
pass: aloe
1 Like
Hi @shortcomings
Do you mean left and right side? It is already center. You mean up and down center. Then try this.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Theme.liquid” folder, find the tag paste this code before this tag:
I hope it help.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hey Ribe, I am talking about the hamburger menu icon on the left, and the search and cart buttons on the right. I would like to bring those in towards the center, if that makes sense.
Hi @shortcomings ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file component-collection-hero.css
Step 3: Paste the below code at the bottom of the file → Save
.collection-hero__description.rte{
margin-top:50px !important
}

Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly