[Plugin: RSS Just Better] Feature Request: Add class(es) for CSS styling?
-
Any chance you could add one or more classes to the plugin output so elements can be easily targeted for CSS styling?
Here’s a potential start…
<div class="rssjb"> <h2>Feed Title Here</h2> <.ul> <.li><.a href="feedurl" class="title">Item Title Here<./a><span class="datetime"> — Date and/or time here</span><br /> <span class="excerpt">Excerpt goes here...</span><./li> <./ul> </div>
Then we could style any element — for example…
div.rssjb { margin: 0.5em; } div.rssjb h2 { font-size: 1.2em; } div.rssjb li { font-size: 0.9em; } div.rssjb .title { font-weight: bold; font-size: 1.1em; } div.rssjb .datetime { font-style: italic; } div.rssjb .excerpt { margin-top: 0.5em; margin-bottom: 1em; }
Thanks for your great plugin!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: RSS Just Better] Feature Request: Add class(es) for CSS styling?’ is closed to new replies.