New Shopify Certification now available: Liquid Storefronts for Theme Developers

Dawn Theme Product Page Description Width Adjustment

Solved
Toki
Visitor
2 0 0

Hey everyone, 

 

i followed this instruction to reduce the size of the main product image, however, the product title/description remains at the same width, leaving a very big empty space on the right of the screen (see here)

 

Is there any way to expand the width of the description so that it fills up the empty space nicely? 

Appreciate your help! 

Z

Accepted Solution (1)
MarinaPetrovic
Shopify Partner
547 124 177

This is an accepted solution.

Hi @Toki . Go to assets/section-main-product.css.
Find this element:

.product:not(.product--no-media):not(.featured-product) .product__info-wrapper {
    padding-left: 4rem;
    max-width: 36%;
    width: calc(36% - 0.5rem);
}

 

And change value of 'max-width'. For example:

.product:not(.product--no-media):not(.featured-product) .product__info-wrapper {
    padding-left: 4rem;
    max-width: 42%;
    width: calc(42% - 0.5rem);
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

View solution in original post

Replies 4 (4)
MarinaPetrovic
Shopify Partner
547 124 177

This is an accepted solution.

Hi @Toki . Go to assets/section-main-product.css.
Find this element:

.product:not(.product--no-media):not(.featured-product) .product__info-wrapper {
    padding-left: 4rem;
    max-width: 36%;
    width: calc(36% - 0.5rem);
}

 

And change value of 'max-width'. For example:

.product:not(.product--no-media):not(.featured-product) .product__info-wrapper {
    padding-left: 4rem;
    max-width: 42%;
    width: calc(42% - 0.5rem);
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Toki
Visitor
2 0 0

Thank you so much! this worked perfectly 

MarinaPetrovic
Shopify Partner
547 124 177

@Toki you're welcome. 🙂 

M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
oscprofessional
Shopify Partner
15736 2353 3051

@Toki ,

I have checked your store, It will not done by simple css. You need to check the code and and adjust the code to design proper layout. It is time consuming task.

 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing