Jump to content

[SOLVED] hide left column on mobile


Gastono

Recommended Posts

Hi all,

 

simple question, topic title says it all,

Is it possible to hide the left column on mobile devices and show the left column on tablet and computers.

I know i can disable modules for mobile or just showing them but i dont know if it can be don with the entire left column.

 

prestashop 1.6.0.9

default theme

 

Link to comment
Share on other sites

originaly it  was <div id="left_column" class="column col-xs-12 col-sm-{$left_column_size|intval}">

i changed this to <div id="left_column" class=" hidden-xs  hidden-sm" class="column col-xs-12 col-sm-{$left_column_size|intval}">

wich resulted in streched left column.

After playing around a bit with it i didn't correct it to previous values col-sm-{$left_column_size|intval}

But doing <div id="left_column" class="column col-xs-12 col-sm-3 hidden-xs  hidden-sm"> corrected the problem.

checked on computer and mobile,( just not on tablet (battery defect)) so i guess its ok now

thanks a lot ones again.

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...