Author Topic: Help needed with Saratoga layout left hand margin  (Read 164 times)

0 Members and 1 Guest are viewing this topic.

Offline grumpazoid

  • Member
  • *
  • Posts: 3
    • Priory Sailing Club
Help needed with Saratoga layout left hand margin
« on: January 08, 2020, 06:41:47 AM »
Hi from a new member.

I am trying to help out with the weather station at my sailing club.
The site used an old version of the script embedded in a wordpress page.
I have updated everything to the latest version and simplified the layout as previous. Everything seems fine except I cannot work out how to remove the left hand margin.

The page is at https://www.priorysc.org.uk/today-at-the-club/

You will see that there is an unwanted scroll bar at the bottom,.
I have compared wxindex.php to the old version that worked and cannot see any difference. I have also looked through ajax-dashboard.php to no avail.

The stand alone pages both new and old respectively are located at
https://www.priorysc.org.uk/wx/wxindex.php
https://www.priorysc.org.uk/Weather/wxindex.php

Thanks





Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1526
    • My PWS at Leuven Belgium Europe
Re: Help needed with Saratoga layout left hand margin
« Reply #1 on: January 08, 2020, 07:59:23 AM »
Hi from a new member.

I am trying to help out with the weather station at my sailing club.
The site used an old version of the script embedded in a wordpress page.
I have updated everything to the latest version and simplified the layout as previous. Everything seems fine except I cannot work out how to remove the left hand margin.

The page is at https://www.priorysc.org.uk/today-at-the-club/

You will see that there is an unwanted scroll bar at the bottom,.
I have compared wxindex.php to the old version that worked and cannot see any difference. I have also looked through ajax-dashboard.php to no avail.

The stand alone pages both new and old respectively are located at
https://www.priorysc.org.uk/wx/wxindex.php
https://www.priorysc.org.uk/Weather/wxindex.php

Thanks

Maybe there are more differences, but to get rid of the extra left margin on the dashboard
remove in  wx/weather-screen-blue-narrow.css line 212 (or better set to comment).

Wim
Support for Leuven-Template & Scripts  at this forum
Support for the PWS_Dashboard (HWS-template) for WD a.o.  https://pwsdashboard.com/
Script sponsors https://support.leuven-template.eu/userlistScripts.php
Template sponsors https://support.leuven-template.eu/userlist.php

Offline grumpazoid

  • Member
  • *
  • Posts: 3
    • Priory Sailing Club
Re: Help needed with Saratoga layout left hand margin
« Reply #2 on: January 08, 2020, 08:29:39 AM »
Wim,
Thank you for your reply.

I have made that change as suggested but the margin is still there?

It seems to be part of the background.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1526
    • My PWS at Leuven Belgium Europe
Re: Help needed with Saratoga layout left hand margin
« Reply #3 on: January 08, 2020, 10:02:30 AM »
Wim,
Thank you for your reply.
I have made that change as suggested but the margin is still there?
It seems to be part of the background.
It is OK,  but the old CSS is still in the browser-cache and it has a long validity.
You have to force reload of the page, right click in an empty part and select reload, or use the menu.
You could test it with another laptop/pc or other browser you did not access the site yet.
===
The "better" solution is to copy the changed weather-screen-blue-narrow.css and rename it to "narrow.css"
Then change this line (around line 40) in wx/Settings.php from
Code: [Select]
$SITE['CSSscreen'] = 'weather-screen-blue-narrow.css'; // Default screen 800px designto
Code: [Select]
$SITE['CSSscreen'] = 'narrow.css'; // Default screen 800px design
It is a new css-name for the browser, so it will load the css and all should be well.

Wim

Support for Leuven-Template & Scripts  at this forum
Support for the PWS_Dashboard (HWS-template) for WD a.o.  https://pwsdashboard.com/
Script sponsors https://support.leuven-template.eu/userlistScripts.php
Template sponsors https://support.leuven-template.eu/userlist.php

Offline grumpazoid

  • Member
  • *
  • Posts: 3
    • Priory Sailing Club
Re: Help needed with Saratoga layout left hand margin
« Reply #4 on: January 08, 2020, 10:26:19 AM »
Brilliant....I deleted browser cache and it does now indeed display correctly.

Much appreciate your help.

Thanks
Roopz

 

anything