Notifications
Clear all

[Solved] Change media upload icons

7 Posts
2 Users
0 Reactions
2,011 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: 6556
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: 6556

@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: 6556

@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