Home Forums Plugin Support WP User Frontend (Free Version) change "select image" colour

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Tareq Hasan 5 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7977

    tuho
    Participant
    Post count: 8

    hi, could you tell me where is the code in css for “select image” button? Currently it is blue colour. I would like to change the background colour to different one.

    Thanks

    #7979

    Mahi
    Member
    Post count: 1555

    Its coming from plugins/wp-user-frontend-pro/css/frontend-forms.css file.

    however, i would recommend you to create a class .wpuf-submit input on your theme style.css file and play with it. As, if you upgrade your plugin in future you will loose all styles.

    #7984

    tuho
    Participant
    Post count: 8

    thanks. which bit of the code in the frontend-forms.css is for “select image” button? I am able to change others apart from this one. It seems not a button style. Can you take a look. When user clicks on this “select image” button, user can browser an image.

    please advice

    thanks

    #8120

    tuho
    Participant
    Post count: 8

    What does this code mean below?

     <div class="wpuf-fields">
                <div id="wpuf-<?php echo $attr['name']; ?>-upload-container">
                    <div class="wpuf-attachment-upload-filelist">
                        <a id="wpuf-<?php echo $attr['name']; ?>-pickfiles" class="button file-selector" href="#"><?php _e( 'Select Image', 'wpuf' ); ?></a>

    When I preview the form, it shows a button as “Select Image”. This button colour is blue. I would like to change it to other background colour. I have been looking for the css file for this button colour. I am unable to find it. please advice.

    Thanks

    #8133

    Tareq Hasan
    Keymaster
    Post count: 2831

    Take a look at /css/frontend-form.css and ul.wpuf-form li .wpuf-fields a.file-selector css class. You'll find the colors there. You don't need to change any PHP files.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘change "select image" colour’ is closed to new replies.