Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Criss Swaim

    (@cswaim)

    if you check the documentation under the options tab, there is an option field-classes. You can apply custom classes by using this option:

    field_classes=”post_thumbnail=my-custom-class-name”

    This will replace the default tpg-thumbnail-class with my-custom-class-name

    Thread Starter idapostle

    (@idapostle)

    Thank you so much cswaim. Very much appreciated unfortunately it doesn’t work now on a mobile screen—the image winds up offset to the left and cropped. Is there a way to only apply the class to desktop? I am assuming this is not an easy thing to do.

    Thread Starter idapostle

    (@idapostle)

    Sorted this out. I just needed to change the float for the class to right. Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Apply class to only large thumbnail images’ is closed to new replies.