[Solved] Change media upload icons  


Deyson Ortiz
Posts: 34
Customer
(@deyson)
Member
Joined: 2 years ago

Hello.  
Is there a way to quickly change the media upload icons?

Thank you. 🙂

6 Replies
Astghik
Posts: 3119
Admin
(@astghik)
Support Team
Joined: 2 years ago

@deyson,

I'll ask developers and let you know asap. 

2 Replies
Deyson Ortiz
Customer
(@deyson)
Joined: 2 years ago

Member
Posts: 34

@astghik

Thank you, I look forward to the response.

Have a great day!

 

Astghik
Admin
(@astghik)
Joined: 2 years ago

Support Team
Posts: 3119

@deyson

Please add the following js codes in your  active theme's js files: 

/* change the upload image icon*/

jQuery('.wmu-icon-image').css('background-image', 'url(image.jpg)');

/* change the upload video icon*/

jQuery('.wmu-icon-video').css('background-image', 'url(image.jpg)');

/* change the attach file icon*/

jQuery('.wmu-icon-file').css('background-image', 'url(image.jpg)');
Deyson Ortiz
Posts: 34
Customer
(@deyson)
Member
Joined: 2 years ago

Awesome!  Thank you!

Also, Which codes would I use to change the icons in the thumbnails that appear after I click on the icons.  Thank you very much! 🙂

1 Reply
Astghik
Admin
(@astghik)
Joined: 2 years ago

Support Team
Posts: 3119

@deyson,

Follow are the codes you can use

/* change the upload image icon*/


jQuery('.wmu-image-tab .wmu-add .wmu-add-icon').css('background-image', 'url(image.jpg)');

 

/* change the upload video icon*/


jQuery('.wmu-video-tab .wmu-add .wmu-add-icon').css('background-image', 'url(image.jpg)');

 

/* change the attach file icon*/


jQuery('.wmu-file-tab .wmu-add .wmu-add-icon').css('background-image', 'url(image.jpg)');

 

Deyson Ortiz
Posts: 34
Customer
(@deyson)
Member
Joined: 2 years ago

Thank you 🙂

Share: