Support » Plugin: Category Posts Widget » Thumbnails background

  • Resolved avalol

    (@avalol)


    Hi,
    On my blog, I use this plugin to make picture (as thumbnail) appears in the sidebar.
    And with the latest update there is a weird issue :
    the picture appears with the background of the title of the widget below.

    http://www.lepalindrome.net/

    But when I choose to show the excerpt it goes right. So maybe there is a, adjustement to show only the thumbnail, but I can’t find which line to fix…

    Thanks a lot for your help.

    https://wordpress.org/plugins/category-posts/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mrinal Kanti Roy

    (@mkrdip)

    You can show only the thumbnail perfectly, using some custom CSS. I can help, share your website URL here.

    Hi Mrinal,
    Here is the link :
    http://www.lepalindrome.net/
    you can see (right column) on Firefox that I kinda succeed on make only the image appears by writing a little sign to make the block appears but on Chrome it’s completely broken … 🙁
    Any help would be great !

    Plugin Author Daniel Floeter

    (@kometschuh)

    Hello avalol,
    the bug is the float:left for the img-tag: .cat-post-widget img{…float: left; ..}

    You can fix it in your CSS-code, e.g. here two proposals, take one of this:
    – override the float attribut: .cat-post-widget img { float: none; }
    or
    – set the a-tag above the img-tag to display:table: .cat-post-widget a { display: table;}

    We have to discuss a CSS fix for the Widget. At first we check-in a fix to GitHub, after that we plan a release.
    I hope the fix will help for your problem and your website?

    Thanks for joining the Widget.

    Plugin Author Mrinal Kanti Roy

    (@mkrdip)

    Hi Ava,

    Thanks for the link to your website. Daniel’s suggestion is right.

    To be more specific, The following CSS will work fine:

    .cat-post-widget img, .cat-post-widget a {
    display: table !important;
    }

    Check the screenshot, when I applied that CSS in my end. Add the CSS codes in your Theme’s Custom CSS panel.

    Plugin Author Daniel Floeter

    (@kometschuh)

    Hello avalol,

    the solution for your problem is checkt in on GitHub and will be shiped with the next releas on wordpress.org:

    .cat-post-item:before,
    .cat-post-item:after {
    content: “”;
    display: table;
    clear: both;
    }

    Thanks a lot for your help ! It now works perfectly fine 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Thumbnails background’ is closed to new replies.