Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Dawn Theme Product Page Description Width Adjustment

Solved

Dawn Theme Product Page Description Width Adjustment

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
559 124 191

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
559 124 191

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
559 124 191

@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
16116 2410 3126

@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 | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free