Images don't resize!

  • Graphener

    #4892

    Hi,

    I notice that the images in posts don’t resize properly! I want to use small image format for the excerpts but they don’t resize proportionally!

    Is there a way to use small format? In addition, they are inserted with surrounding grayed frames! How to remove it?

    On other hand, I installed Addthis social button, and I’d like to hide it only in the post excerpts in the front pages, is this feasible? I just want it displayed on the full post.

    Thank you

    Anonymous

    #29727

    Change thumbnail dimension in WP-Admin » Settings » Media

    To remove gray border around images,

    .wp-caption {
    background: none;
    border: 0px;
    }

    Use firebug to find out exact css class

    For AddThis, use conditional tag is_single()

    Graphener

    #29728
    Quote:
    .wp-caption {

    For AddThis, use conditional tag is_single()

    Thank you, Prasanna,

    It was OK for the picture but I’m sorry for the “conditional tag” I could make it properly!

    Since, I want to hide the Addthis from the front page, I tried some but didn’t work!

    for ex.

    ‘is_front_page()’ true;

    then, hide addthis;

    else {

    return true;

    What is the correct code piece for this issue?

    Mod

    Kenneth John Odle

    #29729

    This

    Quote:
    ‘is_front_page()’ true;

    then, hide addthis;

    else {

    return true;

    is not proper PHP code. If you are installing that in a text widget, you will need to use the PHP widget plugin instead.

    I would search http://php.net/ for the proper syntax for a PHP if...then...else loop, or else just google “php if”.

Viewing 4 posts - 1 through 4 (of 4 total)

  • You must be logged in to reply to this topic.