Forum Replies Created
-
AuthorPosts
-
December 9, 2016 at 7:47 pm in reply to: New WPML 3.6 – Enfold's Language switcher stopped working #722584
Nevermind, I found the real problem and it was not related to enfold :-)
Thank you Eliott,
I just wanted to understand if it was the right layout or if I had some torubles with my old css, or a compatibility problem with something else…Best :-)
November 25, 2014 at 6:06 pm in reply to: Tab in custom page template: how to make them work on mobile? #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 9 years, 11 months ago by angeloca.
October 29, 2014 at 3:17 pm in reply to: Tab in custom page template: how to make them work on mobile? #342734Hi Josue, thank you, I’ll give it a shot on our test enviroment and let you know.
best
October 27, 2014 at 6:35 pm in reply to: Tab in custom page template: how to make them work on mobile? #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 14, 2014 at 2:50 pm in reply to: Tab in custom page template: how to make them work on mobile? #335582Hi Ismael thank you :-)
here’s the template made with the html structure of the tabs elementhttp://langhe.net/business/timeless-la-morra/
best!
thanks again- This reply was modified 10 years, 1 month ago by angeloca.
October 10, 2014 at 12:16 pm in reply to: Tab in custom page template: how to make them work on mobile? #333812No,
the page you see is printed out from different custom fields. It’s not built with the visual composerI can’t use the visual composer (and save a template with that) for 2 reason:
1 – if in the future I want to change the layout I will have to manually change all the 100+ entries.
2 – This content is user generated and I don’t want the users to fiddle around with the visual composer. It’s much easier for them to just fill in the custom fields.If you can tell me if there is some js I can include in the page to have the proper “switch to accordion” with the tabs built with the html structure instead of the shortcode, it woul be really great :-) (refer to the original post to see exactly what the problem is)
Thank you!
best :-)
October 9, 2014 at 4:49 pm in reply to: Tab in custom page template: how to make them work on mobile? #333337Hello there,
we went online, and you can see some example of the pages here
http://langhe.net/business/hotel-ristorante-i-castelli/
http://langhe.net/business/cascina-gramolere/I’m using the shortcode now, but I’d really like to switch to the html structure because for example in one of the tab I’m printing the content of a wysiwyg custom field, and the shortcode does not fully respect the formatting given inside the wysiwyg editor.
So please let me know if I should be including any js to use the html structure :-)
best
September 28, 2014 at 6:41 pm in reply to: Tab in custom page template: how to make them work on mobile? #326202OK, thank you.
I’ll try the shortcode and come back here when the page il is live
September 24, 2014 at 7:13 am in reply to: Tab in custom page template: how to make them work on mobile? #324073Hi Josue, thank you for your answer :-)
You need to change your hosts file so it look like this:
81.201.5.181 langhe.net
you’ll find the page here: http://langhe.net/business/dei-bersaglieri/ – the tabs are located after the initial white-bg section.thanks :-)
best -
AuthorPosts