Jump to content

Archived

This topic is now archived and is closed to further replies.

tjolin

Accordion, one closes, one opens.

Recommended Posts

tjolin

Hi I have another accordion question, 

 

How can I make a accordion close when another one is open? 

So basically only one can be opened.

 

TIA

Share this post


Link to post
Share on other sites
Danny

Hi,

 

The Accordion shortcode built inside DMS, is using Bootstrap code. Therefore, when you click on one, the other should close and vice versa. Is this not happening for you ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
tjolin

I've set the accordions in rows, I think thats the problem?

 

As can be seen here: www.james-watling.com , the "about" and "contact" button

Share this post


Link to post
Share on other sites
Danny

Yeah, thats actually really clever and works well, but I do feel like you said it is because you have styled them in rows. I would try using tabs instead and see how that works.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
tjolin

So I've put it in a normal accordion way.

But still the same problem? One doesnt close when one is open. 

Ive checked the shortcode and everything is fine. 

 

Any ideas?

 

<B>[pl_accordion name="accordion"]
[pl_accordioncontent name="accordion" number="5" heading="ABOUT" open="no"]
James is a Publisher and Business Director who has been working in the Asia Pacific region for several years producing high end luxury print publications, digital media and advertising campaigns for a wide range of world famous brands and businesses. He is primarily responsible for the business aspect of new media ventures, but is equally involved in the creative process working with some of the most talented art directors, graphic designers, illustrators, photographers and writers in the business. James is currently consulting to clients in the region as well as expanding his horizons into new territories. <br>
[download label="Download Digital Portfolio (3.6mb)"]http://james-watling.com/wp-content/uploads/2015/03/James-Folio-Digital.pdf[/download]
[download label="Download Print Portfolio (34mb)"]http://james-watling.com/wp-content/uploads/2015/03/James-Folio-Print.pdf[/download]
[/pl_accordioncontent][pl_accordioncontent name="accordion" number="6" heading="CLIENTS"]
[/pl_accordioncontent]
[pl_accordioncontent name="accordion" number="7" heading="WORK"]
<a href="#work"><p><i class="icon icon-chevron-down icon-2x"></i></p></a>
[/pl_accordioncontent]
[pl_accordioncontent name="accordion" number="8" heading="CONTACT"]
/ <b><a href="sg.linkedin.com/pub/james-watling/4/6a/796/en/" target="_blank">LINKEDIN</a> <BR>
<B>/ <b><a href="http://www.behance.com/jameswatling"target="_blank">BEHANCE</a> <BR>
/ <b><a href="mailto:[email protected]">EMAIL</a> <BR>
<a href="#message">/ MESSAGE</a>
[/pl_accordioncontent]
[/pl_accordion]
 
TIA

Share this post


Link to post
Share on other sites
tjolin

Solved, topic can be deleted. 

Share this post


Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio+
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
    • flourishdesignstudio
      By flourishdesignstudio+
      Is there a way to edit the custom CSS via FTP? I know I can edit the custom code in the Chrome editor but is there a file path I can use to find and edit the CSS directly from our FTP?
      Thanks in advance for the help!
    • nizami
      By nizami+
      Using navbar section with correctly configured WP menu to display main navigation at https://elenaangel.com. 
      All fine in desktop viewport. Menu displays twice in hamburger mode. How to fix this please? 

×