Support » Plugin: JP's Get RSS Feed » Style output

  • Resolved fabst0r

    (@fabst0r)


    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/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author jp2112

    (@jp2112)

    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}

    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/

    Plugin Author jp2112

    (@jp2112)

    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.

    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.

    Plugin Author jp2112

    (@jp2112)

    Please post the CSS you are using.

    Plugin Author jp2112

    (@jp2112)

    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.

    Plugin Author jp2112

    (@jp2112)

    Do you still need help with this?

    Plugin Author jp2112

    (@jp2112)

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Style output’ is closed to new replies.