I've been using H&M 8.1 for a while but only recently started a project using PP 3.35 skins with it.
In prior projects on H&M 7.x I used the "phone" and "desk_tablet" table classes to cause specific tables to be shown/not shown on phones or desktop/tablet browsers.
But now the "phone" table class is not working for me: I tried my output on both Vivaldi and Chrome browsers on an Android phone, and none of the "phone" class tables are displayed.
Solutions?
Prem. Pack 3.35 + H&M 8.1 - table classes
Moderators: Alexander Halser, Tim Green
-
- Posts: 151
- Joined: Thu Dec 24, 2009 8:41 pm
- Contact:
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Prem. Pack 3.35 + H&M 8.1 - table classes
Hi Mark,
Check the hmwebhelp_main_phone.css file in your skin and look for the General section. It should look like this:
Also: When you view the WebHelp on the phone browsers, do you get the proper phone style display? Or are you getting a scrunched up version of the desktop display? That would mean that the phone device is not being recognized correctly, which would explain it. I have never used Vivaldi, but it would be very unusual for that to happen on Chrome, and that would indicate damage to the skin. If that is the case you should try an unedited version of the skin you are using to see if the same thing happens.
Check the hmwebhelp_main_phone.css file in your skin and look for the General section. It should look like this:
Code: Select all
/* General */
.desktop {
display: none !important;
}
.tablet {
display: none !important;
}
.desk_tablet {
display: none !important;
}
.noscript {
display: none !important;
}
.scripted {
}
.phone {
}
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 151
- Joined: Thu Dec 24, 2009 8:41 pm
- Contact:
Re: Prem. Pack 3.35 + H&M 8.1 - table classes
Tim,
It turns out I was tricked by having forgotten a solution you provided a year ago (for a different skin than I'm using right now)...
viewtopic.php?p=70905&sid=12d97f7fe819b ... fea#p70905
Thanks for your help...both times<g>.
It turns out I was tricked by having forgotten a solution you provided a year ago (for a different skin than I'm using right now)...
viewtopic.php?p=70905&sid=12d97f7fe819b ... fea#p70905
Thanks for your help...both times<g>.