thumbnail size

Support MB Admin Columns thumbnail sizeResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43061
    Andrew WheelerAndrew Wheeler
    Participant

    Hi. Am trying a simple css snippet to override the thumbnail size of Image and/or Image Advanced in Admin Columns from the default 48x48, namely for .mb-admin-columns-image img, and .mb-admin-columns-image_advanced img. Not working, and not sure if i need greater specificity - or if the only way is a php snippet for the_post_thumbnail. Thanks in advance!

    #43066
    PeterPeter
    Moderator

    Hello,

    The default thumbnail size of WordPress is 150x150px and I see the image displays in the admin column with that size. Screenshot https://imgur.com/uCfAbaR

    You can try to use this custom CSS code to change the size of the image in the admin column

    #mb-admin-columns-imageFieldID img {
        width: 70px;
        height: 70px;
    }
    #43068
    Andrew WheelerAndrew Wheeler
    Participant

    this worked, thank you. i was also making the mistake of putting it in my rwmb_enqueue_scripts, rather than admin_head.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.