-
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
- Transparent header issue without changes
- Slider Revolution error
- TikTok & X
- Copy and Paste Problem
- Page content gets invisible when logged in as the admin
- Issue with the resizer
- Update for Parallax & Video Backgrounds for WPBakery Page Builder
- Issue with Fortuna WordPress Theme – White Screen and Editor Interface Problem
- Update to latest version of WP, PLUGINS, THEMES, PHP version
- internal server error