Support

Account

Home Forums Feature Requests [image field] image replacing improvement Reply To: [image field] image replacing improvement

  • @edwinsnotje very nice start, I wanted to add this to a current project as soon as I saw your reply. Try this:

    
    .acf-image-uploader.has-value .hide-if-value {
      display: block;
      clear: both;
      float: left;
      margin: 1em 0;
    }
    .acf-image-uploader.has-value .hide-if-value p {
      visibility: hidden;
    }
    .acf-image-uploader.has-value .hide-if-value p a {
      visibility: visible;
      float: left;
      color: transparent;
      padding-right: 2.5em;
    }
    .acf-image-uploader.has-value .hide-if-value p a:before {
      visibility: visible;
      content: "Change Image";
      position: absolute;
      color: #0071a1;
    }