Hide html box on desktop (pc) in prestashop 1.7

Hello, it is possible to disable the module "Prestashop HTML box" only on the pc version? thanks you
I am asking because i do not see this option in my prestashop 1.7: 

Hide html box on pc version in PrestaShop 

Hello
I see, you are on PrestaShop 1.7, unfortunately it does not have such feature as it is in PrestaShop 1.6 (my video was recorded in prestashop 1.6)
in this case, to hide contents on desktop device it will be necessary to add minor tweaks to your code.

- open html box configuration page
- open source code tool (available by default in rich text editor): https://i.imgur.com/8vQxhSr.png
- at the begining of your code add <div class="hidden-md-down hidden-lg-down"> and at the end add </div> like i show here: https://i.imgur.com/LwE8UPh.png
- save contents


in effect:
- module contents will disappear from desktop devices
- contents will appear on mobile devices


Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment