Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Change media upload icons

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

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

Thank you. 🙂

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

@deyson,

I'll ask developers and let you know asap. 

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

Member
Posts: 34

@astghik

Thank you, I look forward to the response.

Have a great day!

 

Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
Posts: 6444

@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: 8 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: 8 years ago

Illustrious Member
Posts: 6444

@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: 8 years ago

Thank you 🙂

Share:
Scroll to top