Re: Resize banner image

Solved

Resize banner image

isabellemaria
Trailblazer
221 2 27

Hi there,

 

I want to resize the first banner image on this page: https://taneraskin.com/pages/kpguide (Dawn theme) in MOBILE only. It should be larger.

 

Bildschirmfoto 2024-06-22 um 17.36.12.png

 

Also, if you know how, I would like to make the small images (icons) in the table here larger in MOBILE only.

 

Bildschirmfoto 2024-06-22 um 17.48.56.png

 

 

Best regards,

Isabelle

Accepted Solution (1)

PageFly-Noah
Shopify Partner
1317 233 280

This is an accepted solution.

This is Noah from PageFly - Shopify Page Builder App

 

Hi @isabellemaria  Please add code here to change size image:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
 @media screen and (max-width: 767px){
    #Banner-template--19921508663564__8278a745-3a9e-430c-bf90-92ae8be53bc7{
        height: 15vh !important;
    }
 }
</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Noah | PageFly

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 3 (3)

BSS-TekLabs
Shopify Partner
2401 695 830

- Here is the solution for you
- Please follow these steps:

step.png


- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

 

 

@media screen and (max-width: 749px) {
.banner__media:first-child {
 height: 140px !important;
}
.markdown table td {
     padding: 0 !important;
}
}

 

 


- Here is the result you will achieve:

BSSTekLabs_0-1719072000455.png

BSSTekLabs_1-1719072209889.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


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

PageFly-Noah
Shopify Partner
1317 233 280

This is an accepted solution.

This is Noah from PageFly - Shopify Page Builder App

 

Hi @isabellemaria  Please add code here to change size image:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
 @media screen and (max-width: 767px){
    #Banner-template--19921508663564__8278a745-3a9e-430c-bf90-92ae8be53bc7{
        height: 15vh !important;
    }
 }
</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Noah | PageFly

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

Made4uo-Ribe
Shopify Partner
9870 2351 2947

Hi @isabellemaria,

 

I would suggest to have different section for mobile and desktop. Then you can assign different image sizes or even images. Please follow the tutorial below to achieve this

 

 

Please press 'Like' and mark it as 'Solution' if you find it helpful.

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.