WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. cloudduster
    Member
    Posted 10 months 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 10 months 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 10 months ago #

  4. Hal Gatewood
    Member
    Plugin Author

    Posted 10 months 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 10 months ago #

    Awesome. That worked!

    Great plugin. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.