-
AuthorPosts
-
polo974 Friend
polo974
- Join date:
- May 2015
- Posts:
- 63
- Downloads:
- 133
- Uploads:
- 4
- Thanks:
- 13
- Thanked:
- 5 times in 2 posts
June 6, 2015 at 8:34 pm #207025Hi there,
It is possible to have all ACM accordion item closed at the first load of the page ?
Thanks !
Paul
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 8, 2015 at 11:49 am #573245Hi Paul,
May I know which template style of Uber are you using?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 8, 2015 at 11:49 am #738273Hi Paul,
May I know which template style of Uber are you using?
polo974 Friendpolo974
- Join date:
- May 2015
- Posts:
- 63
- Downloads:
- 133
- Uploads:
- 4
- Thanks:
- 13
- Thanked:
- 5 times in 2 posts
polo974 Friendpolo974
- Join date:
- May 2015
- Posts:
- 63
- Downloads:
- 133
- Uploads:
- 4
- Thanks:
- 13
- Thanked:
- 5 times in 2 posts
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 9, 2015 at 7:38 am #573413With style I meant: Uber Home / Uber Business / Corporate / Spa / ….
polo974 Friendpolo974
- Join date:
- May 2015
- Posts:
- 63
- Downloads:
- 133
- Uploads:
- 4
- Thanks:
- 13
- Thanked:
- 5 times in 2 posts
June 9, 2015 at 8:44 am #573427Ok, for the home page, it’s Uber-University…
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 10, 2015 at 4:46 am #573532You 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!
1 user says Thank You to Saguaros for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 10, 2015 at 4:46 am #738559You 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!
1 user says Thank You to Saguaros for this useful post
polo974 Friendpolo974
- Join date:
- May 2015
- Posts:
- 63
- Downloads:
- 133
- Uploads:
- 4
- Thanks:
- 13
- Thanked:
- 5 times in 2 posts
June 10, 2015 at 10:28 am #573578Sure 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 !
-
AuthorPosts
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