-
I have a 1 page navigation website http://test.corvetteclubsantabarbara.com and I would like to use a hyperlink from a button to an Accordion tab. Does this require some Java code? I did find this code on StackOverflow below but I probably need to create a child theme and paste it somewhere or perhaps the Fortuna Theme can handle this already. I have Row ID’s already set up for the major sections but hyperlinks don’t get resolved with #row_id_name when embedded in an Accordion. Thanks.
$( document ).ready(function() { if (window.location.hash) { var AccordionSectionNumber = window.location.hash.substring(1); AccordionBodyID = $(".accordion .accordion-group:nth-of-type(" + AccordionSectionNumber + ") .accordion-heading a").attr('href') if (! (typeof AccordionBodyID === "undefined")) { $(AccordionBodyID).collapse('show'); return true; } } });
- Theme support is offered to verified customers only. To post a topic go to your Theme Category and add your question at the page bottom.
Theme Categories
Recent Topics
- Alea updates
- Why "Fortune" theme is no longer available?
- PHP 8.1 Error
- Issue with WPB editor icons
- Issue with Icons and Text Alignment for Arabic Content
- Installing and Activating Plugin Fortuna Portfolio CPT (1/8)
- Testimonials page is blank
- warning boc_framework line 905
- Transparent header issue without changes
- Slider Revolution error