collage fit the whole screen in width on mobile and on pc

Solved

collage fit the whole screen in width on mobile and on pc

LeuchTii1337
Tourist
11 0 5

can someone help with? i want my image in collage fit the whole screen in width on mobile and on pc. 

I use the theme dawn

https://c2efcd-77.myshopify.com/
p
assword: 123

Accepted Solutions (2)
namphan
Shopify Partner
2689 349 398

This is an accepted solution.

Hi @LeuchTii1337,

Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:

.section-template--23331434168650__collage_VF4rXR-padding {
    padding: 0;
    max-width: none;
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

View solution in original post

BSS-TekLabs
Shopify Partner
2401 695 832

This is an accepted solution.

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

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

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

    .section-template--23331434168650__collage_VF4rXR-padding {
        padding: 0 !important;
        max-width: 100% !important;
    }

- Here is the result you will achieve:

BSSTekLabs_0-1724082711833.png

BSSTekLabs_1-1724082816373.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

View solution in original post

Replies 10 (10)

LeuchTii1337
Tourist
11 0 5

Screenshot 2024-08-16 142022.png

namphan
Shopify Partner
2689 349 398

This is an accepted solution.

Hi @LeuchTii1337,

Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:

.section-template--23331434168650__collage_VF4rXR-padding {
    padding: 0;
    max-width: none;
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
namphan
Shopify Partner
2689 349 398

Hi @LeuchTii1337,

If you have any questions, you can contact me directly.
Nice to meet you 😊

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
LeuchTii1337
Tourist
11 0 5

that worked thx but there is a quality loss on the image why?

namphan
Shopify Partner
2689 349 398

Hi @LeuchTii1337,

I have checked and the image is responsive to the browser width, so if you want to display the exact size, please send me the code of the collage.liquid file, i will guide you to change it

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
BSSCommerce-HDL
Shopify Partner
2305 835 909

Hi @LeuchTii1337 

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

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
.page-width.section-template--23331434168650__multicolumn_HqNHjm-padding.isolate.scroll-trigger.animate--slide-in {
margin: 0!important;
min-width: 100%!important;
padding: 0!important;
}

.page-width.section-template--23331434168650__collage_VF4rXR-padding {
margin: 0!important;
min-width: 100%!important;
padding: 0!important;
}
</style>

Here is result:

BSSCommerceHDL_0-1724082760204.png

Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

BSSCommerce-HDL
Shopify Partner
2305 835 909

Hi @LeuchTii1337

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

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

<style>
.page-width:has(>.collage) {
    width: 100vw;
    margin: 0 !important;
    padding: 0 !important;
}

.collage .media.media--transparent {
    width: 100vw !important;
} 
</style>

 

Here is result:

BSSCommerceHDL_0-1724082673311.png

Hope this can help you,

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

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

BSS-TekLabs
Shopify Partner
2401 695 832

This is an accepted solution.

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

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

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

    .section-template--23331434168650__collage_VF4rXR-padding {
        padding: 0 !important;
        max-width: 100% !important;
    }

- Here is the result you will achieve:

BSSTekLabs_0-1724082711833.png

BSSTekLabs_1-1724082816373.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
LeuchTii1337
Tourist
11 0 5

it worked but there is a massive quality loss why?

PaulNewton
Shopify Partner
7731 678 1630

Because all the instructions stretch the image, forcing a change to it's aspect ratio.

 

Either add a larger width image, or the above styles need to be adjusted to change the background attachment type, or other methods to avoid resolution issues.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org