Home › Forums › WoodMart support forum › Visual changes on Composite Product pages
Visual changes on Composite Product pages
- This topic has 7 replies, 2 voices, and was last updated 5 months, 1 week ago by
Hung Pham.
-
AuthorPosts
-
September 22, 2024 at 9:02 am #599152
wildguitarsParticipantGreetings XTemos team! I hope everyone is doing well.
I have recently installed WooCommerce’s official Composite Products plugin and I’ve begun working on a template page that I will then duplicate to many additional pages.
I have been corresponding with WooCommerce support about some visual changes that I’d like to make, and they replied that I would need to discuss this with the theme developer which is why I am reaching out today.
1. In the area that shows the image and description of the selected component, I would like the ratio between the two columns to be 50/50 or perhaps 60/40.
So instead of this: https://prnt.sc/lKcmvgpWBwnC
It would be this: https://prnt.sc/lKcmvgpWBwnC
Basically like a standard product page: https://prnt.sc/9sGBcHS4JAMJ2. For mobile, at the moment it is two columns as well.. This needs to be changed to one column, and the color preview image needs to be moved so that it will be underneath the description, and above the color select dropdown menu
Screenshot #1: https://prnt.sc/ITsCb8zI4w-i
Screenshot #2: https://prnt.sc/l4SbM-VAylTH3. The next/previous component buttons are nearly invisible at the moment and I would like to make them more prominent. https://prnt.sc/SylpFK42LEVg
4. In mobile view, if the component title is long and takes up two rows, the rows overlap and don’t have enough spacing between them: https://prnt.sc/_Q27NIDJtH2o
If you have any additional tips or opinions on how to make the composite product pages more visually appealing, I would appreciate it!
I have included the login information and product link in the private content.
Thanks in advance for your assistance.
Best regards,
TomSeptember 23, 2024 at 3:52 pm #599434
Hung PhamKeymasterHello wildguitars,
Thanks for reaching to us.
First of all, I am appreciate your patience.
1, 2, 3. Please disable
WooCommerce Composite products
plugin and check again.If you want to build the custom product layouts, I kindly recommend you to build Custom Product layouts, which is built with WoodMart WooCommerce builder, then and create new WooCommerce layouts and place your specific contents that suits your requirements.
Further, you can read more about the Layout Builder here: https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/
4. Go to Theme Settings > Custom CSS and remove this code line https://prnt.sc/PqVdhEFlYbLB
Regards,
September 23, 2024 at 7:15 pm #599509
wildguitarsParticipantHi Hung, thank you for your insightful reply.
I’m not sure if I didn’t understand you correctly or if perhaps you didn’t understand me.
Can you please take a look at the video I recorded for you (link in the private content) and let me know your additional thoughts?Best regards,
TomSeptember 24, 2024 at 7:14 am #599548
Hung PhamKeymasterHello wildguitars,
1. Changing width of columns in the desktop
Please add the below Custom CSS code to Theme Settings > Custom CSS > Custom CSS for Desktop:
.component:not(.selection_thumbnail_hidden) .composited_product_details_wrapper > div.details, div.component .composited_product_images, body.woocommerce-page div.product div.composited_product_images{ width: 50%; }
2. On the mobile
Please add the below Custom CSS code to Theme Settings > Custom CSS > Custom CSS for Mobile section:
.component:not(.selection_thumbnail_hidden) .composited_product_details_wrapper > div.details, div.component .composited_product_images, body.woocommerce-page div.product div.composited_product_images{ width: 100%; } .summary-add-to-cart-form-composite .component:not(.selection_thumbnail_hidden) .composited_product_details_wrapper> div.details{ padding: 0; } .composited_product_details_wrapper{ display: flex; flex-wrap: wrap; } .composited_product_images.images{ order: 2; }
Regards,
September 24, 2024 at 2:34 pm #599700
wildguitarsParticipantHung, thanks so much for providing these codes!
On mobile everything looks great.Unfortunately I have encountered a new issue in desktop view – the guitar’s color preview image is blurry and pixelated because the small thumbnail is enlarged: https://prnt.sc/YSyMxqLxd_41
The thumbnail that is loaded is 300×300 px:
https://www.wildguitars.co.il/wp-content/uploads/2023/04/Sire-S3TS-1-300×300.jpgAnd not the full 2000×2000 px image:
https://www.wildguitars.co.il/wp-content/uploads/2023/04/Sire-S3TS-1.jpgIs there a way to “force” the page to load the full size image?
September 25, 2024 at 9:44 am #599891
Hung PhamKeymasterHello wildguitars,
Basically, the product images are controlled by WooCommerce and the WoodMart theme doesn’t influence this. The size of the thumbnail you set should be larger than the size of the product thumbnail displayed on the shop page. If the thumbnail size is smaller than what the default size expects, it may appear blurry or not display correctly.
You can find the sizes used on the demo here:
https://xtemos.com/docs/woodmart/faq-guides/image-size-content-alignment-product-grid/and Regenerate thumbnails using the appropriate plugin. https://wordpress.org/plugins/regenerate-thumbnails/
Here is the WooCommerce Manual:
https://woocommerce.com/document/fixing-blurry-product-images/Best Regards
September 25, 2024 at 1:52 pm #600025
wildguitarsParticipantThank you, Hung, I have shared all the information with my web developer who will assist me.
Best regards,
TomSeptember 26, 2024 at 11:29 am #600326
Hung PhamKeymasterHi wildguitars,
Keep us in mind for future questions and concerns, we’re always here to help!
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register