wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

[Solved] How change pin logo in wpdiscut comment part


ariolo26
Posts: 8
Topic starter
(@ariolo26)
Active Member
Joined: 7 months ago

I bought the addons to add media to the comments. Today, the logo to add an image is a pin. How to change this little logo? thank you

 

10 Replies
Asti
Posts: 4894
 Asti
Support
(@asti)
Support member
Joined: 5 years ago

@youlo69,

We don't follow you well. Would, you like to change the icon shown on the screenshot? 

image

 

ariolo26
Posts: 8
Topic starter
(@ariolo26)
Active Member
Joined: 7 months ago

yes, it’s that  🙂

1 Reply
Asti
 Asti
Support
(@asti)
Joined: 5 years ago

Support member
Posts: 4894

You should do it via the js code:

jQuery('.wmu-upload-wrap i').removeClass("fa-paperclip");
jQuery('.wmu-upload-wrap i').addClass(".fa-upload");

This article should be helpful for you: https://www.collectiveray.com/add-javascript-to-wordpress

Then, put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again.

i.fas.\.fa-upload {
    content: '\f093';
}

Please change the red marked values according the icon you've chosen. 

This is an example of the following icon:

https://fontawesome.com/v5.15/icons/upload?style=solid

ariolo26
Posts: 8
Topic starter
(@ariolo26)
Active Member
Joined: 7 months ago

I want this logo for exemple: 

It's same step and code ?

Capture d’écran 2021 12 09 à 16.04.12
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 5 years ago

Support member
Posts: 4894

@youlo69,

Then use the codes below:

JS code:

jQuery(document).ready(function(){
   jQuery('.wmu-upload-wrap i').removeClass("fa-paperclip");
   jQuery('.wmu-upload-wrap i').addClass(".fa-photo-video");
});

CSS code:

i.fas.\.fa-photo-video:before {
   content: '\f87c';
}
ariolo26
Posts: 8
Topic starter
(@ariolo26)
Active Member
Joined: 7 months ago

Should I make the change within the child theme or the parent theme?

Thank you for your help 

1 Reply
Asti
 Asti
Support
(@asti)
Joined: 5 years ago

Support member
Posts: 4894

@youlo69,

You can use the second point provided here: https://www.collectiveray.com/add-javascript-to-wordpress   

Or you can put it in both child and parent theme files. In the case of the child theme, the changes won't be lost after the theme update, thus it's better to insert in the child theme file. 

ariolo26
Posts: 8
Topic starter
(@ariolo26)
Active Member
Joined: 7 months ago
Capture d’écran 2021 12 28 à 12.38.35
Capture d’écran 2021 12 28 à 12.39.12

 

 

Capture d’écran 2021 12 28 à 12.37.26
Capture d’écran 2021 12 28 à 12.37.35

Hi, 

I would like resolve some others bugs when I'm in private navigation. (it possible it cause about WProcket...) 

- The stars are not yellow 
- The stars is staggered
- There are so much space enter image... 
--> Can we enlarge the images when there are several in this way (see next photo 1 and 2 and 3)

 

ariolo26
Posts: 8
Topic starter
(@ariolo26)
Active Member
Joined: 7 months ago
Capture d’écran 2021 12 28 à 12.47.10

 

Capture d’écran 2021 12 28 à 12.40.11

 

 

Capture d’écran 2021 12 28 à 12.46.33

 

This is what I would like:

Capture d’écran 2021 12 28 à 12.39.54
Capture d’écran 2021 12 28 à 12.40.11

 

1 Reply
Asti
 Asti
Support
(@asti)
Joined: 5 years ago

Support member
Posts: 4894

Please note all questions related to paid addons should be asked in the gVectors.com forum. Here we only support issues related to the free wpDiscuz plugin.  

Share: