Osclass Support Forums
Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: mwindey on November 15, 2021, 11:48:06 AM
-
I was looking on the forum but couldn't find an answer so i started this new topic on how to remove the 3 dots and get the full page on mobile view.
The 3 dots needs to be clicked by users at the moment to see the full page and that is in my point off view sometimes hard for people to understand and they leave the page.
I want to get rid off the ellipsis dots and was looking in responsive.css but not able to find the correct line for it.
Any help appreciated :)
-
@mwindey
You can remove it in main.php
Also this code probably needs to be removed from global.js of theme:
// IF LIST OF LATEST ITEMS IS TOO LONG, SHORTEN IT
if( $('.hc-latest #latest .simple-prod:last-child .img-link img').length ) {
var image_latest = new Image();
image_latest.onload = function () {
if( $('.hc-latest #latest').height() > 900 ) {
$('.hc-latest #latest').attr('data-original-height', $('.hc-latest #latest').height()).addClass('shorten');
}
$('body').on('click', '.hc-latest #latest.shorten .show-more-latest', function() {
$('.hc-latest #latest').animate({height: $('.hc-latest #latest').attr('data-original-height') + 'px'}, 300, function(){
$('.hc-latest #latest').removeClass('shorten').css('height', 'auto');
});
});
}
image_latest.src = $('.hc-latest #latest .simple-prod:last-child .img-link img').attr('src');
}
-
@MB Themes,
Again thank you..... Runs smoothly now ;D ;D 8)
-
Cool :-* :-*
-
@MB Themes,
Since previous went well.... Is it also possible to remove ellipsis from item page on mobile? And most of all how to :-)
Thanks in advance....
-
Currently cannot provide details, but I am quite sure it was discussed here already - quite similar approach as on home.