Digital experiences for all disciplines
New Landing › How can we help? › Atelier › Shortcode for tab?
New Landing › How can we help? › Atelier › Shortcode for tab?
- This topic has 11 replies, 4 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Atelier
-
October 7, 2015 at 6:30 am #218968
Hi Guys,
I would like to add tabs to the “product short description” field. There is you little icon which allows us to include different short codes, but there is no option to paste tabs… Any workaround to do this?
Thank you!
October 7, 2015 at 7:33 am #218971Hi,
You can generate the tab in page content through Swift page builder and switch to html mode to copy the shortcode of tab. Now paste at product short description.
Thanks
MohammadOctober 7, 2015 at 7:59 am #218975This reply has been marked as private.October 7, 2015 at 8:43 am #219002Make sure you are putting them in the correct field, it’s Product Meta Options > Product Short Description
– Kyle
October 7, 2015 at 8:58 am #219005This reply has been marked as private.October 7, 2015 at 9:00 am #219009update: the shortcode I used on the screenshot was not correct… I use the correct one now, but still does not work:
[spb_tabs tabs_type=”standard” center_tabs=”no” width=”1/1″ el_position=”first last”] [spb_tab title=”Tab 1″ icon=”” id=””] [spb_text_block animation=”none” animation_delay=”0″ padding_vertical=”0″ padding_horizontal=”0″ width=”1/1″ el_position=”first last”]
This is a text block. Click the edit button to change this text.
[/spb_text_block] [/spb_tab] [spb_tab title=”Tab 2″ icon=”” id=””] [spb_text_block animation=”none” animation_delay=”0″ padding_vertical=”0″ padding_horizontal=”0″ width=”1/1″ el_position=”first last”]
This is a text block. Click the edit button to change this text.
[/spb_text_block] [/spb_tab] [/spb_tabs]
October 8, 2015 at 12:27 pm #219408This reply has been marked as private.October 9, 2015 at 2:30 pm #219686Hi
Please provide me with a link and login so I can look into this for you
– Kyle
October 9, 2015 at 3:07 pm #219694This reply has been marked as private.October 12, 2015 at 4:01 pm #220171Hi,
I have setup this draft test product so we can help you easier. http://lifewear.com.au/?post_type=product&p=16730.
If you look at the Product Meta => Product Short Description you will see the tab shortcode content I have added.
This looks to be working fine, do you also see that?
Cheers,
David.October 12, 2015 at 4:18 pm #220178Hi David,
Works fine, thank you! Two more question:
1. can I change the colour of the active tab header background?
2. how can I write bold text in that meta description field since there is no editor icons (like in the default field)?Thanks!
October 12, 2015 at 4:51 pm #220187Hi,
1)
Please add this and update the color codes:
.spb_tabs .nav-tabs li.active a, .spb_tour .nav-tabs li.active a { background: #8224e3; border-color: #8224e3!important; color: #ffffff!important; }
2) You can use the
<strong>Your Text</strong>
tags.Thanks,
David. -
Posted in: Atelier
You must be logged in to reply to this topic.