test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • alexkotlyar Friend
    #195105

    Hi,
    I would like to open the off-canvas sidebar using buttons other then the “try discover free” and “hamburger” icon.

    I’m using Smart Slider2 and would like to open the off-canvas sidebar from one of the buttons in my slide.

    Smart Slider2 has a field for “Event on mouseenter” (javascript code to run on the event). Not sure if this helps with what I’m trying to achieve or not. I’d really like to figure out how do this with or without Smart Slider2.

    I’ve been digging around but cant seem to find a solution. Not sure if this is even possible. Really hope someone can help out, I’d greatly appreciate it.

    Wall Crasher Developer
    #524190

    @ alexkotlyar,

    I am not familiar with Smart Slider2. So I will not give any suggestion about it.

    On JA Appolio, you can add many new buttons that can open the off-canvas sidebar.

    You should see something similar to this in the tpls/blocks/off-canvas.php file:

    <button class="btn btn-primary off-canvas-toggle <?php $this->_c('off-canvas') ?>" type="button" data-pos="left" data-nav="#t3-off-canvas" data-effect="<?php echo $this->getParam('addon_offcanvas_effect', 'off-canvas-effect-4') ?>">
    <i class="fa fa-bars"></i>
    </button>

    You can copy this block of code or any new html code which contains:
    1. ‘off-canvas-toggle’ class
    2. data-nav=”#t3-off-canvas” => t3-off-canvas should be the id of off-canvas container element.

    Hope it helps.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Wall Crasher 10 years, 10 months ago.

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