Image resize

Solved

Image resize

PabloPier
Excursionist
45 0 14

Hello, can you tell me how to resize my photo because it is zoomed in from the theme. The theme I use is Impact.
The url is https://www.pablopier.com/

PabloPier_0-1727939706086.png

 

 

Accepted Solution (1)
Tech_Coding
Shopify Partner
514 132 131

This is an accepted solution.

@PabloPier  replace the above code with this code

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 700px) {
   .content-over-media.full-bleed.bg-custom.text-custom img {
       max-width: 30% !important;
        margin: 0 auto;
     }
  }
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

View solution in original post

Replies 4 (4)

Tech_Coding
Shopify Partner
514 132 131

Hello @PabloPier 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 700px) {
   .content-over-media img {
      max-width: 30% !important;
      margin: 0 auto;
   }
}
</style>

Tech_Coding_0-1727940100738.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
PabloPier
Excursionist
45 0 14

Hello, thank you for the reply. But now the image bellow is also resized:

PabloPier_0-1727940987694.png

Can we have only the white watch resized?

Tech_Coding
Shopify Partner
514 132 131

This is an accepted solution.

@PabloPier  replace the above code with this code

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 700px) {
   .content-over-media.full-bleed.bg-custom.text-custom img {
       max-width: 30% !important;
        margin: 0 auto;
     }
  }
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

BSSCommerce-B2B
Shopify Partner
1972 564 568

@PabloPier,

Step 1: Go to Admin -> Online store -> Theme > Edit code

Step 2: Search for the file theme.liquid

Step 3: Add this code before </body> tag

<style>
@media screen and (min-width: 768px) {
   .content-over-media picture > img {
       width: revert-layer;
       margin: 0 auto;
   }
}
</style>

Result: 

BSSCommerceB2B_0-1727940429442.png

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now