Runitdown Posted January 19, 2022 Posted January 19, 2022 Does anyone know the easiest method to make it where when a user loads the website for the first time, some categories are by default minimized. I'll give you an example here https://gyazo.com/fa9de6604ec6cc0d70e75c8ca5845752 (circled in blue)
Solution Marc Posted January 19, 2022 Solution Posted January 19, 2022 There is no built in method within the software that would allow you to do that at the present time, unfortunately. SeNioR- 1
Runitdown Posted January 19, 2022 Author Posted January 19, 2022 2 minutes ago, Marc Stridgen said: There is no built in method within the software that would allow you to do that at the present time, unfortunately. it can't be done with css can it? would it be javascript? with that being said would it be a plugin?
Marc Posted January 19, 2022 Posted January 19, 2022 You would need some manner of plugin to achieve this
Nathan Explosion Posted January 19, 2022 Posted January 19, 2022 (edited) That contains code that would collapse all the categories - to do 'some' you could wrap things in a check for the category ID. And then you have to account for 'first time' too (actually, not relevant...the user's own toggle action dictates from then on) {$category->_id} Will add some code to the other topic. Edited January 19, 2022 by Nathan Explosion Marc, Runitdown and SeNioR- 3
Recommended Posts