Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.2.4 build 3060 - 10 December 2019.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    Advisory text misaligned

    Discussion of the Weather34 web site template

    Moderators: saratogaWX, weatherist34

    Post Reply
    User avatar
    grwkak
    Posts: 98
    Joined: Fri 28 Jun 2013 12:32 am
    Weather Station: Davis Vantage Vue
    Operating System: Windows 10
    Location: Hambden, Ohio US
    Contact:

    Advisory text misaligned

    Post by grwkak » Mon 02 Dec 2019 10:58 pm

    See attached - this happens when dewpoints are below freezing. Is this something to do with advisory.php or elsewhere (cascading style sheet?).
    advisory.JPG
    Guy
    You do not have the required permissions to view the files attached to this post.

    User avatar
    grwkak
    Posts: 98
    Joined: Fri 28 Jun 2013 12:32 am
    Weather Station: Davis Vantage Vue
    Operating System: Windows 10
    Location: Hambden, Ohio US
    Contact:

    Re: Advisory text misaligned

    Post by grwkak » Fri 06 Dec 2019 12:02 am

    Any suggestions on fixing this? My knowledge of css etc is limited!!

    Guy

    User avatar
    saratogaWX
    Posts: 1003
    Joined: Wed 06 May 2009 5:02 am
    Weather Station: Davis Vantage Pro Plus
    Operating System: Windows 10 Professional
    Location: Saratoga, CA, USA
    Contact:

    Re: Advisory text misaligned

    Post by saratogaWX » Fri 06 Dec 2019 1:40 am

    Sorry I missed this posting earlier....

    It would really help to have the URL to the CU-HWS site that shows the problem in order to debug. Screen captures do show a problem, but the actual site has to be viewed to do debugging.

    User avatar
    grwkak
    Posts: 98
    Joined: Fri 28 Jun 2013 12:32 am
    Weather Station: Davis Vantage Vue
    Operating System: Windows 10
    Location: Hambden, Ohio US
    Contact:

    Re: Advisory text misaligned

    Post by grwkak » Fri 06 Dec 2019 10:56 am

    Thanks!

    Here is the link - http://www.wilsonsweather.host-ed.me/CUtest/

    The Dewpoint below freezing is not showing right now - that appears to be the only advisory that has this issue.

    Guy

    User avatar
    saratogaWX
    Posts: 1003
    Joined: Wed 06 May 2009 5:02 am
    Weather Station: Davis Vantage Pro Plus
    Operating System: Windows 10 Professional
    Location: Saratoga, CA, USA
    Contact:

    Re: Advisory text misaligned

    Post by saratogaWX » Fri 06 Dec 2019 4:17 pm

    I'm not sure this will fix the issue, but there is one difference in css/main.dark.css you can change.

    You currently have

    Code: Select all

    .orangealerticonheatindex {
        margin-top: -55px;
        margin-left: 140px;
        padding: 4px;
        line-height: 20px;
        position: relative
    }
    
    while the current prod release has

    Code: Select all

    .orangealerticonheatindex {
        margin-top: -35px;
        margin-left: 160px;
        padding: 4px;
        line-height: 20px;
        position: relative
    }
    
    Also, can you post a copy of advisory.php in your setup so I can take a look?

    User avatar
    saratogaWX
    Posts: 1003
    Joined: Wed 06 May 2009 5:02 am
    Weather Station: Davis Vantage Pro Plus
    Operating System: Windows 10 Professional
    Location: Saratoga, CA, USA
    Contact:

    Re: Advisory text misaligned

    Post by saratogaWX » Fri 06 Dec 2019 6:10 pm

    I found several issues with formatting in the advisory.php.

    I've updated advisory.php and css/main.dark.css on the GitHub distribution.

    Best regards,
    Ken

    User avatar
    grwkak
    Posts: 98
    Joined: Fri 28 Jun 2013 12:32 am
    Weather Station: Davis Vantage Vue
    Operating System: Windows 10
    Location: Hambden, Ohio US
    Contact:

    Re: Advisory text misaligned

    Post by grwkak » Fri 06 Dec 2019 9:14 pm

    Let me try those.

    The .orangealerticonheatindex difference - that was me tinkering to see what altered the positioning of the text. Only the ! icon was affected - but in the right direction.
    Quickly realized I had no idea what was what!!

    Guy

    User avatar
    grwkak
    Posts: 98
    Joined: Fri 28 Jun 2013 12:32 am
    Weather Station: Davis Vantage Vue
    Operating System: Windows 10
    Location: Hambden, Ohio US
    Contact:

    Re: Advisory text misaligned

    Post by grwkak » Sat 07 Dec 2019 12:35 pm

    Issue fixed - dewpoint below freezing looks good!

    Thanks!

    Guy

    Post Reply