Forum Replies Created
-
AuthorPosts
-
April 1, 2016 at 12:08 am in reply to: Accordion toggle align to top of viewport // Deeplinking #606373
Yes it does work, thank you very much!
And I’m sorry for wasting your time due to me clowning around with the provided code.
Best regards, Staff
March 29, 2016 at 3:21 pm in reply to: Accordion toggle align to top of viewport // Deeplinking #604620Thank you for you reply!
Unfortunately this was not really what I meant. What I want is that when I deeplink into an accordion (fi: example.com/faq/#question-75), I want the item that I am linking to to appear at the very top of the site (and it should be the same whether it’s #question-75 or #question-23). So I guess the code should be something like:
function trigger_default_open(hash)
{
if(!hash && window.location.hash) hash = window.location.hash;
if(!hash) return;var open = heading.filter(‘[data-fake-id=”‘+hash+'”]’);
if(open.length)
{
if(!open.is(‘.activeTitle’)) open.trigger(‘click’);
window.scrollTo(THE OPEN ACCORDION ITEM WITH CORRESPONDING DATA FAKE ID HASH);
}
}JS is beyond my knowledge, but this seems to be logic to me. Would this be possible to achieve?
Best regards, Staff
September 27, 2013 at 12:47 pm in reply to: "Enable Lightbox" not appearing in Woocommerce/Settings/General (Enfold theme) #167116Easier of course… Thanks!
Staff
September 26, 2013 at 2:57 pm in reply to: "Enable Lightbox" not appearing in Woocommerce/Settings/General (Enfold theme) #166649I should mention that I tried Phil C’s solution to disable the lightbox:
http://wordpress.org/support/topic/replacing-woocommerce-lightbox
It works when using the Twenty Thirteen theme, but not with Enfold.
Best regards, Staff
-
AuthorPosts