WordPress.org

Ready to get started?Download WordPress

Forums

Image Widget
Use CSS to Style First Widget (1 post)

  1. Chris
    Member
    Posted 11 months ago #

    I'm a css novice so I'm not sure how this would work -

    How would I style the first widget?

    Here is the output for the widget:

    <article id="widget_sp_image-2" class="widget-1 widget-first widget widget_sp_image"><div class="widget-1 widget-first widget-inner"><h3>
          Hello
        </h3><img class="attachment-full" width="193" height="301" src="/wp-content/uploads/2012/04/image.jpg" style="max-width: 100%;" alt="Hello"></img><div class="widget_sp_image-description"> … </div></div></article>

    And my css:

    #sidebar .widget-first h3,
     {
      background: #fff;
      font-family: 'Mary Monroe Script';
      font-size: 50px;
      line-height: 50px;
      color: #b9a898;
      margin: 25px 0 0 0;
      font-weight: 400;
      text-transform: none;
    }

    But it's not working for me. ;)

    Thanks

    http://wordpress.org/plugins/image-widget/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.