Forums

WP-Weather
Edit CSS for Weather Output (4 posts)

  1. ciaranm
    Member
    Posted 1 year ago #

    hi, great plugin, Thanks!!

    I was just wondering how I can modify the display so that is looks nicer. I want to make it look a bit more like the actual weather.com page: http://www.weather.com/weather/today/Darwin+Australia+ASXX0032

    I am comfortable editing CSS, but can't seem to figure out where or what I would edit.

    You can see my weather page here: http://darwinhub.com/tourist-tips/darwin-weather/

    Thanks so much!

  2. mattbta
    Member
    Posted 1 year ago #

    There isn't a whole lot of css in the HTML that is generated in the plugin. To customize it, you'd have to edit the appropriate sections in the plugin file -- either the parseSimpleXml method if you're on PHP5 or parseIsterSimpleXml method if PHP4.

    I'm definitely open to suggestions or patches submitted to make the plugin look nicer.

  3. ciaranm
    Member
    Posted 1 year ago #

    Ok, thanks for your response.

    I'll have a go at adding some css...

    Cheers

  4. webmystery
    Member
    Posted 1 year ago #

    I agree - It would be nice, in lieu of (or in addition to) more granular field selection settings, to have a css class for each line. I have limited space so I'd like "current temp" to display, but I don't need the "feels like", would like to include wind speed but not direction, etc... In some ways the css option would be more useful than making the settings more detailed, because then I could display things differently in different areas. I'm sure I can add some classes to the plugin myself, but don't look forward to loosing them on upgrade.

    Many thanks for taking the trouble to write this plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags