RayS
posted this
01 January 2021
Open in your favorite html editor or text editor. Be sure you do not have auto format. Open as plain text.
The CSS, Java and HTML is all in this one document. At the top of the document you will see the CSS
code to make color adjustments. This is a VERY basic accordion but does the job until NicePage releases
the setup in the platform that is on the roadmap for 2021.
Look for this in the text file
(This is the title of the accordion)
<h2>NicePage Accordion Work Around</h2>
Just below that you will see:
(Edit this title for the first card)
(add your content in here between the p tags)
<button class>Add Your Section 1</button>
<div class>
<p>Demo Content Here Section 1</p>
</div>
You can copy and paste as many times as you need then save the document
Open NicePage and create a new ELEMENT and Choose HTML
Add to your document then double click
Paste in the code from your text file
BOOM - You now have Accordion in your HTML website. When you export for Wordpress or Joomla
the code will stay and work exactly the same unless you remove the code and add a short code from
the other platforms.
I had to figure this out as it was really need for this project I'm working on.
Happy New Year and I hope this helps you!!
Ray Salyer
New Gear Media
Open in your favorite html editor or text editor. Be sure you do not have auto format. Open as plain text.
The CSS, Java and HTML is all in this one document. At the top of the document you will see the CSS
code to make color adjustments. This is a VERY basic accordion but does the job until NicePage releases
the setup in the platform that is on the roadmap for 2021.
Look for this in the text file
(This is the title of the accordion)
<h2>NicePage Accordion Work Around</h2>
Just below that you will see:
(Edit this title for the first card)
(add your content in here between the p tags)
<button class>Add Your Section 1</button>
<div class>
<p>Demo Content Here Section 1</p>
</div>
You can copy and paste as many times as you need then save the document
Open NicePage and create a new ELEMENT and Choose HTML
Add to your document then double click
Paste in the code from your text file
BOOM - You now have Accordion in your HTML website. When you export for Wordpress or Joomla
the code will stay and work exactly the same unless you remove the code and add a short code from
the other platforms.
I had to figure this out as it was really need for this project I'm working on.
Happy New Year and I hope this helps you!!
Ray Salyer
New Gear Media
Last edited 01 January 2021 by RayS