How to align add to cart icon - mobile version mavon theme

Hello there !!

Is there a way to align the add to cart and wish list icon as the same height as logo . Any changes I make affects the desktop version too . Please do share any ideas .

The website link is :: https://19bw01p1t997wuut-71493648693.shopifypreview.com

Hey @Anonymous

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Hey @Anonymous

Please try this css , you can add this in theme custom css file

@media (max-width: 768px) {
  .header__actions.col-auto {
    position: absolute;
    top: 24px;
    right: 0;
  }
}
1 Like

Hey @krtoos21
Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag

@media only screen and (max-width: 767px) {
.header__inner .header__search--bar {
   order: 1;
}

 .header__inner .header__actions.col-auto {
   
    align-items: center;
    padding: 0!important;
    justify-content: flex-end;
}

.header__inner .header__actions.col-auto 
.wishlist-whale-icon-launcher {
    
    margin-right: 0px!important;
    padding: 0px 9px!important;
}

  
}

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

1 Like

There @Anonymous

Try this.

  • From your Shopify admin dashboard, click “Online Store” and “Themes”.
  • Find the theme you want to edit and click “Actions” and then “Edit code”.
  • In the “Assets” folder, click on the “base.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 only screen and (max-width: 767px) {
.header__search--bar.col-auto {
    order: 4;
}
}

Copy

  • And Save.

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

1 Like

Hi,

How can I also make the logo aligned to left like this.

logo.jpg

@Anonymous

Please add the below CSS and let me know

@media only screen and (max-width: 767px) {
.header__logo {
  width: calc(75% - 32px) !important;
  text-align: left !important;
}
.col-auto.d-none.menu--bar-lines.d-md-only-block {
  max-width: max-content;
padding-right: 0 !important;
}
.wishlist-whale-icon-launcher {
    margin-right: 0 !important;
}
}

Copy

1 Like

Its not moving more than this.

lu.jpg

@Anonymous Do you want the logo and hamburger more closer?

1 Like

Yes.

Is this ok?

1 Like

Yes , This is perfect.

1 Like

Replace last code with this and let me know

@media only screen and (max-width: 767px) {
.header__logo {
  width: calc(75% - 32px) !important;
  text-align: left !important;
}
.col-auto.d-none.menu--bar-lines.d-md-only-block {
  max-width: max-content;
padding-right: 0 !important;
}
.wishlist-whale-icon-launcher {
    margin-right: 0 !important;
}
}

Copy

1 Like

@Anonymous

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

@Anonymous I think you mark solution other than me please review it

1 Like