-
AuthorPosts
-
October 22, 2014 at 5:56 pm #339613
Hi there!
I was trying to reply to this thread
https://kriesi.at/support/topic/tab-in-custom-page-template-how-to-make-them-work-on-mobile/#post-323562
but it was closed. Sorry for the delay but I totally missed the notification email.Can I use this new thread to post the code or will you re-open the old one?
thanks :-)Best!
October 23, 2014 at 3:14 am #339915Hey angeloca!
Thank you for visiting the support forum.
Please post the template code on pastebin.com. I’ll ask the rest of the support team and Kriesi to check.
Regards,
IsmaelOctober 27, 2014 at 6:35 pm #341665Hi there,
I’m using the Toolset plugin (WP-Types) to build the template.Here’s the full template
http://pastebin.com/G4fFrF7jHere’s just the snippet of the tabs part:
http://pastebin.com/zDTfXdPmthanks :-)
October 27, 2014 at 9:01 pm #341779Hello,
Have you tried disabling all third-party plugins to see if it gets fixed?
Regards,
JosueOctober 29, 2014 at 3:17 pm #342734Hi Josue, thank you, I’ll give it a shot on our test enviroment and let you know.
best
October 29, 2014 at 4:57 pm #342807We looking forward to hearing from you :)
Regards,
JosueNovember 25, 2014 at 6:06 pm #357732Hi Josue,
after trying to deactivate all the plugins with no success, I fiddled around with the code a little bit and found that if you replicate the whole html in the template the framework duplicates the “tab_titles” div.So if I remove
<div class="tab_titles"> <div data-fake-id="#tab-id-1" class="tab active_tab tab_counter_0" itemprop="headline">[wpv-post-field name="wpcf-lgb-tab1title"]</div> [wpv-if tab2title="wpcf-lgb-tab2title" evaluate="!empty($tab2title)"]<div data-fake-id="#tab-id-2" class="tab tab_counter_1" itemprop="headline">[wpv-post-field name="wpcf-lgb-tab2title"]</div> [/wpv-if] <div data-fake-id="#tab-id-3" class="tab tab_counter_2" itemprop="headline">[wpml-string context="Business"]Contacts[/wpml-string]</div> <div data-fake-id="#tab-id-4" class="tab tab_counter_3" itemprop="headline">[wpml-string context="Business"]Services[/wpml-string]</div> </div>from this code -> http://pastebin.com/zDTfXdPm
everything works just fine :-)BTW enfold is awesome…
-
This reply was modified 10 years, 11 months ago by
angeloca.
-
This reply was modified 10 years, 11 months ago by
-
AuthorPosts
- The topic ‘Tab in custom page template: how to make them work on mobile?’ is closed to new replies.
