Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • polo974 Friend
    #207025

    Hi there,

    It is possible to have all ACM accordion item closed at the first load of the page ?

    Thanks !

    Paul

    Saguaros Moderator
    #573245

    Hi Paul,

    May I know which template style of Uber are you using?

    Saguaros Moderator
    #738273

    Hi Paul,

    May I know which template style of Uber are you using?

    polo974 Friend
    #573321

    Hi @saguaros,

    I’m displaying this accordion in a page which layout style is “default” …

    polo974 Friend
    #738349

    Hi @saguaros,

    I’m displaying this accordion in a page which layout style is “default” …

    Saguaros Moderator
    #573413

    With style I meant: Uber Home / Uber Business / Corporate / Spa / ….

    polo974 Friend
    #573427

    Ok, for the home page, it’s Uber-University…

    Saguaros Moderator
    #573532

    You can open this file: root/templates/uber/acm/accordion/tmp/style-1.phpl

    At approx line 39, look for this line of code:

    <div id="accordion-body-<?php echo $i; ?>" class="panel-collapse collapse <?php if($i<1) echo "in"; ?>">

    change it to:

    <div id="accordion-body-<?php echo $i; ?>" class="panel-collapse collapse ">

    Hope this helps!

    Saguaros Moderator
    #738559

    You can open this file: root/templates/uber/acm/accordion/tmp/style-1.phpl

    At approx line 39, look for this line of code:

    <div id="accordion-body-<?php echo $i; ?>" class="panel-collapse collapse <?php if($i<1) echo "in"; ?>">

    change it to:

    <div id="accordion-body-<?php echo $i; ?>" class="panel-collapse collapse ">

    Hope this helps!

    polo974 Friend
    #573578

    Sure man that was perfect and really helpfull !

    To go a little further :

    To have the “fa-plus” icon when accordion is closed, you have to change in the same file, line 33

    <i class=”fa icon <?php if($i==0) { echo ‘fa-minus’; } else { echo ‘fa-plus’; } ?>” style=”display:block;”></i>

    to

    <i class=”fa icon <?php if($i==0) { echo ‘fa-plus’; } else { echo ‘fa-minus’; } ?>” style=”display:block;”></i>

    Thanks again !

    Saguaros Moderator
    #573580

    You are welcome!!!

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

This topic contains 11 replies, has 2 voices, and was last updated by  Saguaros 9 years, 5 months ago.

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