Button in header Dawn Theme: move the button on mobile to drawer

Hi there,

Hope someone can help with this as I am not so good with coding.

I added a call to action button in my header on Dawn Theme, and I’m pretty happy with the button on desktop, but on mobile it looks terrible. I would like to move the button to the bottom of the drawer menu on the mobile version, can anybody help with how to do this? :slightly_smiling_face:

My website is: https://consciouscollab.co/

1 Like

Hi @Consciouscollab

To transfer the button in the hamburger menu, it needs to modify the liquid code for that. And it needs a Developer to modify the code. But mean while, we cam adjust the button size so it wont be bloated on the mobile :sweat_smile: . If it interest you, 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 “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media (max-width: 767px)
.book_online_button {
    display: block !important;
    width: 120px !important;
}

I hope it help.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!