Need help
Posted: Sat Jan 17, 2015 3:20 am
i need to change sidebar module view
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
Hi,igor083 wrote:i need to change sidebar module view
yesviethemes wrote:Hi,igor083 wrote:i need to change sidebar module view
Do you mean you want to display the product module as list intead of grid?
Hi,igor083 wrote:yesviethemes wrote:Hi,igor083 wrote:i need to change sidebar module view
Do you mean you want to display the product module as list intead of grid?
Code: Select all
<script>
$(document).ready(function () {
$('#column-right .col-lg-3.col-md-3.col-sm-6').removeClass('col-lg-3 col-md-3 col-sm-6');
});
</script>
Yes, you can add this code at the end of file catalog/view/javascript/common.jsKhal wrote:I am also looking for a solution to this problem. Instead of using the Java script extension, could this code be added to a file? And which file?
Thanks for your help
OC 2.0.1.1
Code: Select all
$(document).ready(function () {
$('.col-lg-3.col-md-3.col-sm-6').removeClass('col-lg-3 col-md-3 col-sm-6');
});
Could you send me your site url via PM, so I can take a look at that?Khal wrote:Hi
Thanks for getting back to me.
I added the code at the end of the file you specified, but the modules are still displayed as grid view in the left and right columns: