Home › Forums › WoodMart support forum › Product tabs icon
Product tabs icon
- This topic has 7 replies, 2 voices, and was last updated 4 months, 2 weeks ago by Luke Nielsen.
-
AuthorPosts
-
July 28, 2024 at 2:43 pm #586281
RS53ParticipantHow can we add an icon to the Product tabs items? We see this is possible in ‘Accordeon’ widget and which looks similar to Widget Product tabs, only different is no availability for adding an icon to item title in Product Tabs widget.
For example we want to add an icon next to the ‘extra information’ tab.
Attachments:
You must be logged in to view attached files.July 29, 2024 at 12:00 pm #586389
Luke NielsenKeymasterHello,
Use the code below for help:
.single-product .additional_information_tab .wd-tabs-title { position: relative; padding-left: 20px; } .single-product .additional_information_tab .wd-tabs-title:before { content: "\f11a"; font-family: "woodmart-font"; font-weight: 400; position: absolute; left: 0; }
Define it in Theme Settings -> Custom CSS.
Kind Regards
July 29, 2024 at 1:26 pm #586415
RS53ParticipantHi,
What should this do because we do not see any changes when we put this in and clear the cache?
July 29, 2024 at 2:08 pm #586431
Luke NielsenKeymasterHello,
The code adds the icon before the tab – https://take.ms/wSc32
Send me admin access to your website to investigate it.
Kind Regards
July 29, 2024 at 2:39 pm #586447
RS53ParticipantHi,
Please see private area for access.
Thanks!
July 29, 2024 at 3:59 pm #586495
Luke NielsenKeymasterHello,
The above code is for the tabs. For the accordion use the below one:
.single-product .tab-title-additional_information { position: relative; padding-left: 20px; } .single-product .tab-title-additional_information .wd-accordion-title-text:before { content: "\f11a"; font-family: "woodmart-font"; font-weight: 400; position: absolute; left: 0; }
Kind Regards
July 30, 2024 at 10:12 am #586652
RS53ParticipantIf I se the below code for the ‘review’ tab in accordeon widget I get only a small square as an icon instead of a star icon.
/* Iconen reviews in tabs op single page */
.single-product .tab-title-reviews {
position: relative;
padding-left: 20px;
}
/* Iconen reviews in tabs op single page */
.single-product .tab-title-reviews .wd-accordion-title-text:before {
content: “\e915”;
font-family: “woodmart-font”;
font-weight: 400;position: absolute;
left: 0;
}July 30, 2024 at 10:56 am #586665
Luke NielsenKeymasterHello,
Try to use the code below:
.single-product .tab-title-reviews { position: relative; padding-left: 20px; } .single-product .tab-title-reviews .wd-accordion-title-text:before { content: "\f148"; font-family: "woodmart-font"; font-weight: 400; position: absolute; left: 0; }
The Unicode for icons you can find in Theme Settings – https://take.ms/a9VOd
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register