olivershotter
Forum Replies Created
-
Please visit here, with working close button:
http://addgp.leancomms.com/addisons-gp-about/
I have added the styling above the accordion, this is how I need the closed tab to look.
Alternatively if not possible, can I trigger the “more” button to open the accordion, but somehow make it included as part of the accordion?
Thank you!
- This reply was modified 3 years, 6 months ago by olivershotter.
Hi,
I can close the accordion with the button.
But, If I add html to make a sub-text, this stops the button from working!
When I remove the subtext html/css, the button works again and the accordion closes..Also, I have the design that I need to replicate here for the accordions, so would need to add a button to that section.
Here is how I need to design it when the advanced accordion is closed: https://ibb.co/QdfV2S4- This reply was modified 3 years, 6 months ago by olivershotter.
- This reply was modified 3 years, 6 months ago by olivershotter.
Thank you! it works with the above code.
I then gave the button its own class and replaced the .elementor-button with the class name but it’s not working. Am I doing something wrong?
Also, could you tell me how I could add more text into the Tab section?
I’d like to show the Title and then 2 or 3 lines of subtext in the tab before the user expands the content. Assuming I can edit the HTML but a bit unsure.- This reply was modified 3 years, 6 months ago by olivershotter.
Looking at the file Adv_Accordion.php
I think I have found the function to close the tab, being this:
$repeater->start_controls_tab( 'closed_tab', [ 'label' => esc_html__( 'Closed Tab', 'essential-addons-for-elementor-lite' ), 'condition' => [ 'eael_adv_accordion_tab_icon_show' => 'yes', ], ] );Is this actually the function that closes the accordion?
How would I assign this function to the button inside the accordion to close it?
- This reply was modified 3 years, 6 months ago by olivershotter.