Hi there I’m using the Accordion module and the directory template. How do I increase the margin on the left hand side. It is flush agains the side of the Directory template.
Please advise. Thank you
The current position which you’re assigning the accordion module to is displaying in full-width, if you want it display in center, you can try this tweak:
1) Create a new position called ‘accordion’ by opening file: root/templates/ja_directory/templateDetails.xml and add a new positions tag:
2) Create a new block to load the new position: download & unzip attached file and copy the accordion.php file into this directory: root/templates/ja_directory/tpls/blocks/accordion.php
3) Load this block into the layout you’re using: for example, if your homepage is using features layout, you go to file: root/templates/ja_directory/tpls/features.php and add this line of code:
<?php $this->loadBlock('accordion') ?>
4) Assign the accordion module to ‘accordion’ position.
This topic contains 1 reply, has 2 voices, and was last updated by Saguaros 2 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
New Unified Portal is live
Please post all new support queries in our New Forum.
Please read this Announcement for details.