المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to hide modules on various devices?



Rise Company
08-04-2015, 03:45
There are several module suffixes that allow to hide any modules you want on various device orientation views by entering the specified suffix name in the module parameter.


Available suffixes to hide any module on various devices:


[*=left]hidden-desktop
[*=left]hidden-tablet-landscape
[*=left]hidden-tablet-portrait
[*=left]hidden-mobile


It's enough to enter the correct module suffix in Module Class Suffix field.

https://www.rise.company/forum/images/imported/2015/04/hidemodulesuffix-1.jpg


Default resolutions set at the tempalte manager:

https://www.rise.company/forum/images/imported/2015/04/deviceresolutions-1.jpg


[*=left]from 768px and up -> desktop & tablet-landscape
[*=left]from 767px to 481px -> tablet-portrait
[*=left]from 480px and below -> mobile



If you prefer other values for tablets or mobiles, go to Extensions -> Template Manager to change default values for mobile devices.