Home › Forums › WoodMart support forum › Edit 2 buttons ‘description’ and ‘additional info’
Edit 2 buttons ‘description’ and ‘additional info’
- This topic has 3 replies, 2 voices, and was last updated 1 year ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
November 18, 2024 at 11:44 am #612894
dhndigitalmarketingParticipantI want the 2 buttons ‘description’ and ‘additional info’ on each product to be in the form of buttons like the picture I attached. And on mobile, the 2 buttons ‘description’ and ‘additional info’ are also displayed horizontally like on desktop like the picture I attached.
Please guide me how to do it. Or in the future I hope to have the function to switch the display of the tab buttons, display the buttons horizontally or vertically and the display shape is button or not button depending on each person’s needs.Attachments:
You must be logged in to view attached files.November 18, 2024 at 5:14 pm #613009
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the product page URL so I will check and give you a possible solution?
Best Regards
November 20, 2024 at 6:59 am #613609
dhndigitalmarketingParticipantI send the link in the additional information section
November 20, 2024 at 1:45 pm #613766
Aizaz Imtiaz AwanKeymasterHello,
Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:
.single-product .wd-nav-tabs>li>a { background-color: #d5dbe2; /* Background color for buttons */ border: 2px solid #ccc; /* Border for buttons */ border-radius: 5px; /* Rounded corners */ color: #333; /* Text color */ } .single-product.single-product .wd-nav-tabs>li>a:hover { background-color: #007bff; /* Change background on hover */ color: #fff; /* Change text color on hover */ border-color: #007bff; /* Change border color on hover */ }If you want to show the tabs instead of accordion in mobile, Try to use the Theme’s Layout Builder you can create Custom Layouts for WooCommerce pages like Shop, Category, Single Product page, Cart, and Checkouts. So, you can use that to create your own custom layouts for a single product page and use the “product tabs” widget.
Further, you can read more about the Layout Builder here: https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register
