Jump to content

Anyway to hide a bit of a text, and the appear apon clicking a button


Recommended Posts

hi all, i need a bit of help as some of my pages are becoming cluttered up with a lot of text.

Ive included some faqs within my website but im wondering is it possible for me to hide the answer and then for the answer to appear apon clicking a button and then disappear when clicking again?

This will save space so hopefully there is an answer.

many thanks,

regards,

Ryan

Link to comment
Share on other sites

No jquery is framework included in prestashop for coding, so you would need to make a module with jquery script included. It's not as simple as pasting the code, you need somewhere to add html and javascript through a hook and add php code to deal with printing dynamic questions and answers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...