View Full Version : Remove epand button from categories
Silvester Krepek
December 12, 2017, 05:35 PM
Hello!
I want to remove that button for expand categories. Look at the picture:
2646
It should be always expanded. I am using version 4.6.0 and general-simple teplate. Please help! Thanks!
nirvano
December 12, 2017, 09:28 PM
use the css file style for hide it
Rudi
December 13, 2017, 04:42 AM
Hello!
I want to remove that button for expand categories. Look at the picture:
It should be always expanded. I am using version 4.6.0 and general-simple teplate. Please help! Thanks!
Hi,
Go to your ftp > templates > your template > js > lib.js > find a row ~2049 and
change the code:
if (count > desktop_limit_top && count <= desktop_limit_bottom) {
var gt = desktop_limit_top - 1;
$(this).find('ul.cat-tree > li:gt('+gt+')').addClass('rest');
$(this).find('div.cat-toggle').removeClass('hide').click(function(){
$(this).prev().find('> li.rest').toggle();
});
$(this).removeClass('limit-height');
}
else if (count > desktop_limit_bottom) {
$(this).mCustomScrollbar();
}
else {
$(this).removeClass('limit-height');
}
to
if (count > desktop_limit_bottom) {
$(this).mCustomScrollbar();
}
else {
$(this).removeClass('limit-height');
}
2647
Nizam Karim
December 30, 2017, 04:00 PM
Hi Mr Rudi
Does your above post work with Flynax 4.61 ?
Using Craigslist template
Errol
December 31, 2017, 02:44 AM
how can we change ... to "More"?
Powered by vBulletin® Version 4.1.9 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.