Use CSS to Style First Widget
-
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
- The topic ‘Use CSS to Style First Widget’ is closed to new replies.