WordPress.org

Ready to get started?Download WordPress

Forums

JP's Get RSS Feed
[resolved] Style output (10 posts)

  1. fabst0r
    Member
    Posted 1 year ago #

    I just tried to style the output, e.g. changing the font size, color, etc. following the description on the faq-page but I couldn`t get it to work, that is, to change. Where exactly in the style.css do I have to add the new description? What code do I have to use to change font size and color of the output?

    http://wordpress.org/extend/plugins/jps-get-rss-feed/

  2. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    The location in style.css should not matter. Please post the CSS you are using. Also, if you have changed the default CSS class, please post the name of the class.

    Assuming you have not changed the CSS class from the default, you should be able to use something like this:

    .jpgetrssfeed {font-size:10px; color:#ff9900}

  3. fabst0r
    Member
    Posted 1 year ago #

    Thanks for the quick help, it worked!
    The only problem remaining is that the text itself remains in a color determined by the normalize.css and not in the style.css it seems. Do you have an idea how to change that without changing the color of all headers or links in the normalize.css to that same color?
    In order to see what I mean, take a look at the page:
    http://blog.ufz.de/watersciencealliance/

  4. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, I'm not clear on what you mean. If you prefix your CSS with .jpgetrssfeed (and don't change the default CSS class on the plugin settings page) then you don't have to worry about inadvertently styling other elements. The CSS would only target elements at or below the CSS class level. Hope that helps.

  5. fabst0r
    Member
    Posted 1 year ago #

    The problem is that the link color is not styled by the code entered into the style.css but rather in the same color as all other links, which is determined by the template itself (normalize.css), I guess. I have not changed the default CSS, by the way.
    We are able to change the color of links in the normalize.css, but that would mean the same color for all links, whereas we prefer a different color for our rss-feed links.

  6. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    Please post the CSS you are using.

  7. fabst0r
    Member
    Posted 1 year ago #

  8. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    I meant to show the CSS you are using to style the plugin output, not your entire CSS file.

    What is the name of the CSS class in the "Default CSS class" setting for the plugin? Is it "jpgetrssfeed"? Or are you supplying another class name via the shortcode (or PHP function)? That might explain why the values you entered aren't being applied to the elements under the CSS class.

    Is your CSS file being cached, or are you serving a static gzipped version of it? That might explain why changes in your CSS file aren't filtering down to the browser. Clear your browser cache and your caching plugin, and regenerate the gzip version of your CSS file, if applicable.

    Are you using Firebug or another source code viewer to see how the CSS is being applied?

    If it still doesn't work, make some other changes to your CSS file to confirm that it behaves as expected. This will isolate the problem.

    If all else fails, you may need to override any other CSS that may be applied by using the !important modifier.

  9. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    Do you still need help with this?

  10. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    I am going to mark this as resolved, if you still need assistance then please post back and I will unmark it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.