Single Product Text Width
-
Dear Layteam,
when I change the settings in the Customizer/Woocommerce/Single Product only the width of the picture is affected. Changing the text width does not change the appearance of my text column.Also the .lay-woocommerce-single-product-wrap seems to be centered. On my screen with 2560 x 1440 px the whole wrap is not left alligned even if «space left» is set to 0%. Resizing the Browser shows that there is no «space left» when smaller than 2560 px.
https://retro-revue.de/produkt/porsche-sunnyside/
Is there a way to affect the width of the text column and to left allign the single-product-wrap?
Thank you and best wishes
Hendrik -
hey
so the text you want to set the width for is the "product short description" text.but the setting for the text width is for the other text that would be below.
anyways, i need to create two more settings for the product short description text width and the title text width.
to make it not centered use this css:
.lay-woocommerce-single-product-wrap{ margin-left: 0; }
to make the description text a different width use this css:
.woocommerce-product-details__short-description{ width: 50vw; }
both of these css should go to desktop css
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it