RSS Just Better
Feature Request: Add class(es) for CSS styling? (3 posts)

  1. akurtz
    Posted 3 years ago #

    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>
    		<.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>

    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!


  2. Stef
    Plugin Author

    Posted 3 years ago #

    I'm not much into CSS but thanks for your great suggestion. I think I can add it as you wrote it (I cannot do any better, sorry) to the next version of the plugin. It should not take long for a new release as there might be a bug.


  3. akurtz
    Posted 3 years ago #

    Thanks, Stef!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • RSS Just Better
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic