Archived

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

  • 0

Accordion


Question

Posted · Report post

Hello,

I am working with the accordion feature. When the page loads, the first "accordion" is open. Is there a way to style it so that it is closed on load?

http://www.discoveryoutsourcing.com/test/discovery-defined/mission/

Thanks in advance.

On a side note, I am sad that pagelines will not be at WordCamp Denver this weekend :(

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

Please remove the open="yes" attribute from your accordion code as show in the Accordion example here: http://demo.pagelines.me/tools/

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks. I had the code from bootstrap, not paglines (ie, i didn't use the pl tags at all). I will make the change, thanks.

Share this post


Link to post
Share on other sites

Posted · Report post

That seems to work, but using the bootstrap code I was able to place a caret next to the text. Can I somehow do that with this shortcode?

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, yeah you can still insert a caret, just enter it inside the text you've wrapped with the shortcodes.

Eg: [pl_accordioncontent name="accordion" number="2" heading="^Title 2"]

http://screencast.com/t/GUcBXzWbG

Share this post


Link to post
Share on other sites