WordPress.org

Forums

Awesome Weather Widget
[resolved] Resizing background graphics. (5 posts)

  1. cloudduster
    Member
    Posted 1 year ago #

    Great plugin! Thanks.

    I'm using background graphic having a default 280px width. Can you teach me where to adjust, in css perhaps so that it won't look like it's being stretched? I see no problem with larger sizes.

    http://wordpress.org/plugins/awesome-weather/

  2. Hal Gatewood
    Member
    Plugin Author

    Posted 1 year ago #

    Is the size of the width 280px? If not it has a CSS property called background-size that is set to contain the whole widget.

    If you have a link to your site where the widget is located, I can give you a piece of code to stop it from stretching.

    Hal

  3. cloudduster
    Member
    Posted 1 year ago #

  4. Hal Gatewood
    Member
    Plugin Author

    Posted 1 year ago #

    Try adding the following to your style.css in your theme:

    #main .awesome-weather-cover {
      background-size: auto;
      background-repeat: no-repeat;
      background-position: center center;
      background-color: #fffadd;
    }
  5. cloudduster
    Member
    Posted 1 year ago #

    Awesome. That worked!

    Great plugin. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Awesome Weather Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.