We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Making a specific image touch the edge of page (Image With Text Section, Dawn)

Solved

Making a specific image touch the edge of page (Image With Text Section, Dawn)

kateHCM
Visitor
3 0 0

Hi all,

 

I'm struggling to make a single image full width within an 'image with text' section on the site. I need to do this for one specific image/section, but not sitewide. Is there a way I can customize the CSS to achieve this without affecting other sections?

 

I've scoured many discussion articles and this one here seems to be closest to what I'm trying to achieve: https://community.shopify.com/c/shopify-design/edit-margins-of-a-specific-image-to-make-it-flush-to-...

 

However, the solution does not work on my end.

 

I'm including a snapshot of what I'm trying to achieve vs what my site looks like (note: the image on the site is a placeholder and will be changed).

 

Thanks so much in advance!

Kate

 

shopify-design-discussion-help.jpg

Brand + Marketing | Hard Copy Media
Accepted Solution (1)

PageFly-Richard
Shopify Partner
5011 1120 1806

This is an accepted solution.

 

Hi @kateHCM 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
div#shopify-section-template--15988021887069__0cec008d-421f-4481-af47-cd4f749bd5f3 .page-width {
    max-width: 100%;
    padding: 0;
}
div#shopify-section-template--15988021887069__0cec008d-421f-4481-af47-cd4f749bd5f3 .page-width .image-with-text__text-item.grid__item {
    width: 50% !important;
}
</style>

PageFlyRichard_0-1704847814783.png

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

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


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


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

View solution in original post

Replies 7 (7)

niraj_patel
Shopify Partner
2391 516 516

Hello @kateHCM 
Can you share store URL?

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
kateHCM
Visitor
3 0 0

Staging preview: https://ivbsh3vbjrmdgc1n-61457694813.shopifypreview.com

Brand + Marketing | Hard Copy Media

PageFly-Richard
Shopify Partner
5011 1120 1806

This is an accepted solution.

 

Hi @kateHCM 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
div#shopify-section-template--15988021887069__0cec008d-421f-4481-af47-cd4f749bd5f3 .page-width {
    max-width: 100%;
    padding: 0;
}
div#shopify-section-template--15988021887069__0cec008d-421f-4481-af47-cd4f749bd5f3 .page-width .image-with-text__text-item.grid__item {
    width: 50% !important;
}
</style>

PageFlyRichard_0-1704847814783.png

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

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


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


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

kateHCM
Visitor
3 0 0

@PageFly-RichardYOU ARE MY HERO!!! This worked perfectly. Thank you sooo much. You've made my week. I hope 2024 brings you nothing but sunshine and rainbows.

Kate

 

Screenshot 2024-01-10 at 10.43.01 AM.png

Brand + Marketing | Hard Copy Media
PageFly-Richard
Shopify Partner
5011 1120 1806

Glad that i can help. Have a nice day ❤️

 

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


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


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

elizacarver
Visitor
2 0 0

HI! I'm struggling with the same thing. If I share my store URL can you help me?

swordwk
Visitor
1 0 0

Hi how can I do the same with my featured collection but only on my homepage? I’d also like there to not have borders on each of the products in the columns in the featured collection. Just want that part to look more seamless