Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • alig8r Friend
    #1090702

    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.

    https://motorcycletourism.ca/index.php/cmta-our-projects

    Please advise. Thank you

    Saguaros Moderator
    #1090718

    Hi,

    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:

    <position>accordion</position>

    http://prntscr.com/ibp3gl

    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') ?>

    http://prntscr.com/ibp4bw

    4) Assign the accordion module to ‘accordion’ position.

    Cheers!


    1. accordion.php_.zip
Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Saguaros 6 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum