WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove post thumbnail html attributes (2 posts)

  1. KEJNAV
    Member
    Posted 1 year ago #

    Ok here is the thing.
    I need to use custom thumbnail size, so I make it and it's works fine, but it's renders something like that

    <img width="400" height="300" src="...."

    That are correct sizes, but that two HTML attributes (width & height) have some conflict with my css.

    So to understand where is the problem, go here http://dajzafree.net/?p=5 and then resize browser, after that use inspect element to remove width and height attributes from img tag, and then resize again.

    Hope you will understand.

    So my question is, how can I remove this tow attributes (and still have image with that size) or solve that CSS conflict.

  2. KEJNAV
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic