WordPress.org

Ready to get started?Download WordPress

Forums

Custom Field Template
CSS for custom fileds? make thumbnail bigger (3 posts)

  1. mgason
    Member
    Posted 3 years ago #

    Hi,
    I have a custom field which is for an image upload. It appears in the editor, not on the site. It works fine but right now the thumbnail that appears is tiny. How can I adjust that? A screenshot is here
    It would also be nicer if the thumbnail was to the right of the buttons etc, instead of below, but that is not as important.
    thanks
    mark

  2. proximity2008
    Member
    Posted 3 years ago #

    Yes this should be possible.

    You will need to add your own style sheet Or add this rule to the admin styles in the configuration screen:

    .dl_file img {
    width: 100px !important;
    height: auto !important;
    }

    The above code will make the thumbnail always 100px wide.

  3. mgason
    Member
    Posted 3 years ago #

    Thanks,
    I got that working.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic