-
AuthorPosts
-
zdmdesignz Friend
zdmdesignz
- Join date:
- October 2009
- Posts:
- 122
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 54
- Thanked:
- 11 times in 1 posts
May 14, 2014 at 7:14 pm #197779Hello,
On my Portfolio page, the current active category (All, Print, Logo, Web, Other) does not display the template’s default 2px border. In fact when I look at what should be the active category with Firebug, none of the li.active class is being referenced at all in the css. Why is this?
I have even re-defined the declaration in the custom.css file (see declaration below), but still the category will not appear as active. How can this be fixed?
.ja-masonry-wrap .categories-list li.active > a {
border:2px solid;
}http://www.zmdesignsbranding.com/portfolio
Thank you in advance.
Best,
Zechariah1 user says Thank You to zdmdesignz for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 15, 2014 at 7:32 am #535268Hi Zechariah,
I can’t reproduce the same issue, could you PM me admin and ftp credentials of your site? I will investigate futher.
Best,
1 user says Thank You to Saguaros for this useful post
zdmdesignz Friendzdmdesignz
- Join date:
- October 2009
- Posts:
- 122
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 54
- Thanked:
- 11 times in 1 posts
May 15, 2014 at 6:00 pm #535347Hello Saguaros,
Please see PM.
Best,
ZechariahSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 16, 2014 at 2:00 am #535370Hi Zechariah,
We just made change in this file: /templates/ja_sugite/html/mod_articles_categories/portfolio_items.php
At line 19, replace this line of code:
[PHP]
<li <?php if ($_SERVER[‘PHP_SELF’] == JRoute::_(ContentHelperRoute::getCategoryRoute($item->id))) echo ‘ class=”active”‘;?>> <?php $levelup=$item->level-$startLevel -1; ?>
[/PHP]with:
[PHP]
<li <?php if ($_SERVER[‘PHP_SELF’] == JRoute::_(ContentHelperRoute::getCategoryRoute($item->id)) || $_SERVER[‘REQUEST_URI’] == JRoute::_(ContentHelperRoute::getCategoryRoute($item->id))) echo ‘ class=”active”‘;?>> <?php $levelup=$item->level-$startLevel -1; ?>
[/PHP]It’s working now, please have a look.
Best,
3 users say Thank You to Saguaros for this useful post
zdmdesignz Friendzdmdesignz
- Join date:
- October 2009
- Posts:
- 122
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 54
- Thanked:
- 11 times in 1 posts
May 19, 2014 at 4:51 am #535613Thank you kindly Saguaros. Works great 🙂
Now if I could only get the portfolio page to start active on the first child category (Print)…
http://www.joomlart.com/forums/topic/hide-all-category-in-portfolio-view/
palos Friendpalos
- Join date:
- January 2013
- Posts:
- 369
- Downloads:
- 37
- Uploads:
- 8
- Thanks:
- 125
- Thanked:
- 27 times in 7 posts
July 8, 2014 at 3:52 pm #541570Uhh, it is finally solved! 🙂
It would be nice the use it for the “All” too… imho
by the way your demo site based on the new and repaired one but the downloadable template is still contains the bad code*!
😉 *since yesterday?Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by Saguaros 10 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum