WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
How to display larger images in Admin > Edit Participant page (4 posts)

  1. incaman
    Member
    Posted 1 year ago #

    I can't seem to find the CSS that controls the image size in the admin pages. Kindly remind me how to change the size of the images that display in the Admin > Edit Participant page.

    Thanks

    http://wordpress.org/extend/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    Well, this can be a little tricky because there is no certain way to edit the CSS rules that apply in the admin section.

    What is sizing that image is a rule in the main plugin CSS file "participants-database.css" which you can modify, but your changes will be lost when you upgrade. The rule is:

    .image-field-wrap img {
        height: 50px;
        width: auto;
    }

    You can just change the height to change the size of the image, but it will aslo affect the display of the image on the frontend.

  3. incaman
    Member
    Posted 1 year ago #

    Thanks, I tried that first but it only affects the frontend, it does nothing to the admin side. I can always edit your files and add another class to the frontend so the CSS doesn't change the images in the admin as well. But as you point out, I will lose the change in the next upgrade and will have to do it again then.

    Here's to wishing you make that change in the next upgrade.

    Thanks.

  4. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    incaman,

    It may help to install a plugin: there's one called Add Admin CSS that gives you a stylesheet where you can add rules that affect the admin section. You may need to add some more specificity to the selector to get it to work, but that's easy andI can help you with that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic