This topic has 4 replies, 3 voices, and was last updated 7 months, 2 weeks ago ago by Andrew Mitchell
The text below the linked product(s) on the single product page is left-aligned and I need this to be centered.
I have looked in theme options > Woocommerce > Shop > Product Design, and I cannot find the option to centralize the text, please advise how this can be centralized?
This issue exists on PC, tablet, and mobile view ad I would require to centralize this for global settings.
Hi @Ajaz,
We’ve updated the provided CSS codes to this and now texts are centered:
.woocommerce-shop .content-product .product-content-image,
.single-product .content-product .product-content-image {
width: 300px !important; /* Adjust the width as needed */
height: auto !important;
margin: 0 auto;
overflow: hidden;
}
.woocommerce-shop .content-product .products-page-cats,
.single-product .content-product .products-page-cats {
padding-right: 0 !important;
}
.woocommerce-shop .product-details .product-view-light .light-left-side,
.woocommerce-shop .content-product h2.product-title,
.woocommerce-shop .content-product .products-page-cats,
.woocommerce-shop .content-product .price,
.single-product .product-details .product-view-light .light-left-side,
.single-product .content-product h2.product-title,
.single-product .content-product .products-page-cats,
.single-product .content-product .price{
text-align: center;
}
@media (max-width: 480px){
.woocommerce-shop .content-product .product-content-image,
.single-product .content-product .product-content-image{
width: 94% !important;
}
}
Can you please check again?
Best Regards,
8Theme’s Team
Perfect, resolved, thanks.
Dear Ajaz,
We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!
Click here to spread the love: https://themeforest.net/downloads
Thank you for being an integral part of our journey!
Best Regards,
The 8Theme Team
The issue related to '‘Linked Products Text Misalignment on the Single Product Page’' has been successfully resolved, and the topic is now closed for further responses