WordPress.org

Ready to get started?Download WordPress

Forums

Related Posts Thumbnails
Please use external css (7 posts)

  1. MAzZY
    Member
    Posted 2 years ago #

    Write css in code - very bad idea.
    You must code something like
    $output .= 'class="class_name"';

    http://wordpress.org/extend/plugins/related-posts-thumbnails/

  2. marynixie
    Member
    Plugin Author

    Posted 2 years ago #

    Mazzy, please use output style as list and turn off plugin CSS. This will remove inline styles completely. Usually widgets use inline CSS as this guarantees, they will work properly on different websites.

  3. bluebird2
    Member
    Posted 2 years ago #

    Maria,
    Having inline CSS makes it difficult for user to customize the look. Why not adding a stylesheet?

  4. marynixie
    Member
    Plugin Author

    Posted 2 years ago #

    bluebird2, inline CSS overwrites any other CSS options, like in theme or other plugins. So it guarantees, that plugin will work properly in different themes, etc out of the box. If you want to customize CSS, you can turn off inline CSS in plugin options and customize them as you like in your stylesheet. In addition, any other stylesheets increase amount of http requests to your webserver.

  5. gezginrocker
    Member
    Posted 2 years ago #

    hello,

    first of all thanks for this great plugin.

    I also have noticed inline css & I think this is bad for SEO.

    I have turned of plugin CSS as you told. But I want to view thumbnails as normal block view. and I'm not rreally good with CSS.

    can you please write the CSS code that I have to add to my stylesheet?

    thanks

  6. gezginrocker
    Member
    Posted 2 years ago #

    any help?

  7. gezginrocker
    Member
    Posted 2 years ago #

    found answer here

    I pasted the code to stylesheet, now it is working without inline css.

    sweet!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic