how can we change the number of columns in grid mode from 2 to 4? so 4 ads per line. thanks
how can we change the number of columns in grid mode from 2 to 4? so 4 ads per line. thanks
Hello,
You can try fix it in the following way:
- open the file /templates/your_template/tpl/blocks/grid.tpl
- find following code:
and change it to:Code:Only registered members can view the code.
Code:Only registered members can view the code.
Yes, we know it. You can try to fix it in file libs.js -> function transformToTable. Or would you please submit a ticket to our technical support.how can we adjust lib.js to reflect the change. on page refresh, they show 4 per line but when we use the swith to go to list than grid view, we have it again as 2 instead of 4. thanks
work in that file is pretty tricky. viktor implemented for me a solution to have a diferent grid view list and all seemed ok but in the end it coused issues in other places like users accounts (switch/search). so i want to try a diferent aproach and change just the grid view to have it in 4 columns. i have adjusted the boxes contents but require this last issue to be fixed. since you presented the first solution for 4 columns i decided to ask if you ahev a solution to this as well...without messing up other areas. thanks