What's New
Viewing 13 posts - 1 through 13 (of 13 total)
Viewing 13 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic.
Hello
I was wondering if and how we could have this menu with transformer ?
If you go on this page : http://www.deco-indoor.com/fr/ go on the “Collections” menu, you’ll see all the alphabet letters and when you clik on it, it displays in the same tab the brands of that letter.
How can I do that with transformer or one of your modules?
Thanks!
That’s quite an unique request, kind like the ways of listing brands on this page http://panda2.sunnytoo.com/twenty-two/en/manufacturers
These are categories, not brands, right?
The menu module of Transformer can’t achieve that by default, you have to do some csutomizations to menu module.
Hello
No they are brands. And yes, it would be perfect if we could have this display http://panda2.sunnytoo.com/twenty-two/en/manufacturers in the menu.
Is there a way? Maybe in modifying the template of the menu and get the TPL of the brands page?
But we are not on Panda, we are with transformer.
Thanks
See attached pics.
1. I added a piece of css cod and a piece of js code to the theme editor module.
.mm_alphabet{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #d9d9d9;}
.mm_alphabet a {
width: 30px;
height: 30px;
line-height: 30px;
font-size: 18px;
font-weight:bold;
color:#444;
border-style: solid;
border-width: 0;
display: inline-block;
text-align: center;
text-decoration: none;
}
.mm_alphabet a:hover, .mm_alphabet a.active{
color:#fff;
background:#F03419;
}
.mm_alphabet a.st_alpha_b_has_0, .mm_alphabet a.st_alpha_b_has_0:hover, .mm_alphabet a.st_alpha_b_has_0.active{
color:#999;
}
.alm .col-md-3{display:none;}
.alm .col-md-3.active{display:block;}
jQuery(function($){
$('.mm_alphabet a').on('click',function() {
$('.mm_alphabet a').removeClass('active');
$(this).addClass('active');
$('.alm .col-md-3').removeClass('active');
$('.alm .col-md-3.letter' + $(this).data('letter')).addClass('active');
return false;
});
});
2. Edit the /modules/stadvancedmenu/views/templates/hook/stadvancedmenu-sub.tpl for a little.
You must be logged in to reply to this topic.