Notifications
Clear all

[Solved] Change media upload icons

7 Posts
2 Users
0 Likes
1,152 Views
Posts: 34
Customer
Topic starter
(@deyson)
Member
Joined: 7 years ago

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

Thank you. 🙂

6 Replies
Astghik
Posts: 5874
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

@deyson,

I'll ask developers and let you know asap. 

2 Replies
Customer
(@deyson)
Joined: 7 years ago

Member
Posts: 34

@astghik

Thank you, I look forward to the response.

Have a great day!

 

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5874

@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)');
Posts: 34
Customer
Topic starter
(@deyson)
Member
Joined: 7 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
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5874

@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)');

 

Posts: 34
Customer
Topic starter
(@deyson)
Member
Joined: 7 years ago

Thank you 🙂

Share:
Scroll to top