![]() |
![]() ![]() |
![]() |
Domj |
![]()
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 |
![]()
Post
#2
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 9,686 Joined: 10-August 06 Member No.: 7 ![]() |
In CSS the comments look like this:
CODE /* this text is commented out */ |
Domj |
![]()
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 |
![]()
Post
#4
|
🌟Computer says no🌟 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 20,737 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 |
![]()
Post
#5
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 9,686 Joined: 10-August 06 Member No.: 7 ![]() |
|
pandy |
![]()
Post
#6
|
🌟Computer says no🌟 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 20,737 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: 10th June 2024 - 06:33 PM |