akytogo Posted September 16, 2020 Share Posted September 16, 2020 (edited) Need to create a show/hide so the user can read more copy if they click on a +Read more. I was able to do this in 7.0 but looks like it is no longer working for 7.1 Right now in the Design/CSS area .markdown-block p { margin-left:0em; } .markdown-block .ui-closed:before { font-family:monospace; content:"+ "; } .markdown-block .ui-open:before { font-family:monospace; content:"- "; } In the code injections (on page/advanced) I have; <style> a.product-title { pointer-events: none !important; } </style> <script> $(document).ready(function(){ $('.markdown-block .sqs-block-content h4').addClass('ui-closed').css('cursor','pointer'); $(".markdown-block .sqs-block-content h4").nextUntil("h4").slideToggle(); $(".markdown-block .sqs-block-content h4").click(function() { $(this).nextUntil("h4").slideToggle(); $(this).toggleClass('ui-closed ui-open'); }); }); </script> on the page is a "markdown" module #### READ MORE lorem ipsum Edited September 16, 2020 by akytogo put in current code Link to comment
tuanphan Posted September 18, 2020 Share Posted September 18, 2020 (edited) You can use Accordion tab Plugin. or free code from Codepen. or use this free tool to add FAQ Accordion Dropdown. Edited September 15, 2021 by tuanphan Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
RolandFuseHub Posted October 5, 2020 Share Posted October 5, 2020 (edited) Hi @akytogo, you can also try this plugin: https://www.sqsmods.com/expand-20 The biggest pro: you can develop a full 'section' to your liking - images/text/forms etc and hide it until you click Read More. The regular way via a markdown block is limiting because it is hard to include images and lay it out the way you want it. Yaya - Slide Video.mp4 Edited March 14, 2022 by RolandFuseHub New URL I run FuseHub Creative Group, a syndicate of creatives from all over the world with one common goal - to develop creative and strategic solutions for ambitious organizations, and develop cool plugins which you can find on the SQS Mods platform - Circle Members always get a 10% discount with this code: SQSMOD10. Link to comment
MegPrax Posted March 14, 2022 Share Posted March 14, 2022 @RolandFuseHub this link is dead, is this a plugin that is still available? Link to comment
RolandFuseHub Posted March 14, 2022 Share Posted March 14, 2022 23 minutes ago, MegPrax said: @RolandFuseHub this link is dead, is this a plugin that is still available? Hi, that is an old post. We moved everthing to www.sqsmods.com where this and other plugins are available. This particlar one can be found here: https://www.sqsmods.com/expand-20 Cheers Roland I run FuseHub Creative Group, a syndicate of creatives from all over the world with one common goal - to develop creative and strategic solutions for ambitious organizations, and develop cool plugins which you can find on the SQS Mods platform - Circle Members always get a 10% discount with this code: SQSMOD10. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment