BartG Posted April 4, 2019 Share Posted April 4, 2019 (edited) Hello guys, I'm newbie in Prestashop. I have three columns with icons and paragraphs on main page. In each column I want some words to be visible and rest of text should appear on button click. (Take a look at the screenshot) What steps should I take to do it? Thanks! Edited April 5, 2019 by BartG (see edit history) Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted April 4, 2019 Share Posted April 4, 2019 Hi.. you need add the some js code in your themes custom.js file when and hide and show using div element Thanks Link to comment Share on other sites More sharing options...
BartG Posted April 4, 2019 Author Share Posted April 4, 2019 Hi Nishith, thanks for your reply. Any further action not needed? Should I register it in any further file? Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted April 4, 2019 Share Posted April 4, 2019 (edited) Hi.. no need to register any new file you can use your themes custom.js file for jquery code Thanks Edited April 4, 2019 by Nishith (see edit history) Link to comment Share on other sites More sharing options...
BartG Posted April 4, 2019 Author Share Posted April 4, 2019 Unfortunately it doesn't work. I assume script is loaded before <body> Link to comment Share on other sites More sharing options...
BartG Posted April 4, 2019 Author Share Posted April 4, 2019 Thanks a lot for your advice. I've added my code into custom.js in Theme assets. It works fine Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted April 5, 2019 Share Posted April 5, 2019 thank you please change topic with solve Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now