Html widget, Html widget not showing in mobile view |
Html widget, Html widget not showing in mobile view |
Domj |
Feb 11 2020, 06:33 PM
Post
#1
|
Group: Members Posts: 2 Joined: 11-February 20 Member No.: 27,164 |
Hi I hope someone can help. I'm using a brolmo html widget on the site www.newquayairport.co.uk however the widget isn't showing up on mobiles. There support stated it was the following issue with the website...
The issues is caused by a rule of your CSS file - /onewebstatic/7d1dac24b5.css In this file you have class with this URL: .mobileViewLoaded .row { display: none !important; } [indent] If you comment it out the script will show. However nobody is able to tell me how to edit the code to "comment it out" I have tried // at the start to no avail. Any help will be gladly appreciated. Dom |
Christian J |
Feb 11 2020, 06:47 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
In CSS the comments look like this:
CODE /* this text is commented out */ |
Domj |
Feb 11 2020, 07:29 PM
Post
#3
|
Group: Members Posts: 2 Joined: 11-February 20 Member No.: 27,164 |
Thanks for the speedy reply so just to clarify /* goes before the entire code*/ or just around none. /* None*/
Thanks again |
pandy |
Feb 11 2020, 08:57 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Thanks for the speedy reply so just to clarify /* goes before the entire code*/ or just around none. /* None*/ Thanks again Better comment out the whole line or whole rule even, if that's all there is in it. In case you don't want to delete it. CODE /* .mobileViewLoaded .row { display: none !important; } */ |
Christian J |
Feb 12 2020, 08:41 AM
Post
#5
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
|
pandy |
Feb 12 2020, 05:06 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I think Domj mean if he could do it like this.
CODE .mobileViewLoaded .row { display: /* none */ !important; } Which is possible, but it leaves 'display: !important' which looks rather fishy even if it probably doesn't harm anything. I'd do the below as a minimum. But as the rule seems to be used for nothing else, it's cleaner to remove the whole thing. CODE .mobileViewLoaded .row { /* display: none !important; */ } |
Lo-Fi Version | Time is now: 23rd April 2024 - 04:27 PM |