Make image bigger

Solved

Make image bigger

projectthirteen
Excursionist
54 0 4

Hey all, 

is there any CSS code I can implement to make my product image on mobile stretch up to the header and remove any blank space surrounding it (like the images below) 

Any help would be unreal. 

 

My URL:   https://project-thirteen.com.au

 

IMG_1307.PNG

IMG_1310.PNG

IMG_1311.PNG

Accepted Solutions (3)
DitalTek
Shopify Partner
891 103 122

This is an accepted solution.

@projectthirteen 

Thank you have been patient!

You can add this code to assets/section-main-product.css file: 

How to find to that file? you can go to Admin -> Online Store -> Themes -> Customize Code -> Assets:

@media screen and (max-width: 749px){
  .section-header.shopify-section-group-header-group {
      z-index: 3;
      position: absolute;
      top: 55px;
      width: 100%;
   }
   .section-header.shopify-section-group-header-group .gradient {
      background-color: transparent;
   }
}

 If you have further question, feel free to ask me!

- You can please Like and Accepted Solution if my suggestion helpful.
- And you want to hire developer Theme or App Shopify => Feel free to send me a DM or contact to us via Email | WhatsApp
- Website: ditaltek.com

View solution in original post

DitalTek
Shopify Partner
891 103 122

This is an accepted solution.

@projectthirteen 

To do that you can move the zoom icon to right bottom with this code:

@media screen and (max-width: 749px){
.section-header.shopify-section-group-header-group {
      top: 55px;
}
.media-type-image .product__media-icon {
  top: auto;
  left: auto;
  right: 3.2rem;
  bottom: 2.2rem;
}
}

This is result:

VIEKIN_0-1723712250939.png

 

- You can please Like and Accepted Solution if my suggestion helpful.
- And you want to hire developer Theme or App Shopify => Feel free to send me a DM or contact to us via Email | WhatsApp
- Website: ditaltek.com

View solution in original post

DitalTek
Shopify Partner
891 103 122

This is an accepted solution.

Yes, you can try this code:

@media screen and (max-width: 749px){
  .section-header.shopify-section-group-header-group.menu-open {
      z-index: 99;
   }
   .section-header.shopify-section-group-header-group.menu-open #menu-drawer {
      top: -55px !important;
   }
}

This is result:

VIEKIN_0-1723732631526.png

- You can please Like and Accepted Solution if my suggestion helpful.
- And you want to hire developer Theme or App Shopify => Feel free to send me a DM or contact to us via Email | WhatsApp
- Website: ditaltek.com

View solution in original post

Replies 10 (10)

DitalTek
Shopify Partner
891 103 122

@projectthirteen 

Have you want make it like this?

VIEKIN_0-1723602109377.png

 

- You can please Like and Accepted Solution if my suggestion helpful.
- And you want to hire developer Theme or App Shopify => Feel free to send me a DM or contact to us via Email | WhatsApp
- Website: ditaltek.com
projectthirteen
Excursionist
54 0 4

Yes, exactly like that.

projectthirteen
Excursionist
54 0 4

Thanks for getting back to me, what code did I need to put in @DitalTek ?

DitalTek
Shopify Partner
891 103 122

This is an accepted solution.

@projectthirteen 

Thank you have been patient!

You can add this code to assets/section-main-product.css file: 

How to find to that file? you can go to Admin -> Online Store -> Themes -> Customize Code -> Assets:

@media screen and (max-width: 749px){
  .section-header.shopify-section-group-header-group {
      z-index: 3;
      position: absolute;
      top: 55px;
      width: 100%;
   }
   .section-header.shopify-section-group-header-group .gradient {
      background-color: transparent;
   }
}

 If you have further question, feel free to ask me!

- You can please Like and Accepted Solution if my suggestion helpful.
- And you want to hire developer Theme or App Shopify => Feel free to send me a DM or contact to us via Email | WhatsApp
- Website: ditaltek.com
projectthirteen
Excursionist
54 0 4

Thanks @DitalTek, this worked although is it possible to move the magnifying glass to the bottom left hand side or make it invisible yet allow zoom when users click on the image?

 

Thanks

DitalTek
Shopify Partner
891 103 122

This is an accepted solution.

@projectthirteen 

To do that you can move the zoom icon to right bottom with this code:

@media screen and (max-width: 749px){
.section-header.shopify-section-group-header-group {
      top: 55px;
}
.media-type-image .product__media-icon {
  top: auto;
  left: auto;
  right: 3.2rem;
  bottom: 2.2rem;
}
}

This is result:

VIEKIN_0-1723712250939.png

 

- You can please Like and Accepted Solution if my suggestion helpful.
- And you want to hire developer Theme or App Shopify => Feel free to send me a DM or contact to us via Email | WhatsApp
- Website: ditaltek.com
projectthirteen
Excursionist
54 0 4

Thankyou @DitalTek, there now seems to be a slight gap between the announcement bar and the menu, is this fixable? 

IMG_1381.PNG

DitalTek
Shopify Partner
891 103 122

This is an accepted solution.

Yes, you can try this code:

@media screen and (max-width: 749px){
  .section-header.shopify-section-group-header-group.menu-open {
      z-index: 99;
   }
   .section-header.shopify-section-group-header-group.menu-open #menu-drawer {
      top: -55px !important;
   }
}

This is result:

VIEKIN_0-1723732631526.png

- You can please Like and Accepted Solution if my suggestion helpful.
- And you want to hire developer Theme or App Shopify => Feel free to send me a DM or contact to us via Email | WhatsApp
- Website: ditaltek.com
projectthirteen
Excursionist
54 0 4

Thankyou very much for your help @DitalTek 

DitalTek
Shopify Partner
891 103 122

You are welcome 🤗

- You can please Like and Accepted Solution if my suggestion helpful.
- And you want to hire developer Theme or App Shopify => Feel free to send me a DM or contact to us via Email | WhatsApp
- Website: ditaltek.com