Hi,
First I want to admit that wpDiscuz is a great plug-in that I really enjoy using 🙂
1- Is it possible to change the fonts of comment, textarea,... or all of them with a @font-face? I like to use a Persian font for Persian comments and when the comment is English, it can go to the next font available which could be the default theme font. I tried inserting codes to assets/css/ files, but it didn't work.
2- And also is it possible to do this in a smart way? If the comment is Persian the field becomes RTL and if it is English it goes back to LTR.
Thanks!
Hi si47ash,
1. in the setting > tab "styles" we have custom CSS text area. You should try to add there.
2. I am sorry but there is no such option yet.
Thanks a lot. I tried this and it didn't work:
@font-face {
font-family: 'omid';
src: url('https://www.//////.com/////.woff') format('woff'); } .comments-area { width:auto; font-family: "omid", "Open Sans", Helvetica, Arial, sans-serif; }
Should I apply the font to each text field and area? I don't know the exact labels.
I managed to change text titles' fonts, but others are still not changed. 🙁
I used this:
.comments-area {width:auto;} #wpcomm .wc-comment-footer { font-family: "omid", "Raleway", Helvetica, Arial, sans-serif; } #wpcomm .wc-comment-header, #wpcomm .wc-comment .wc-comment-left { font-family: "omid", "Raleway", Helvetica, Arial, sans-serif; }
Please help to do this for all text areas, field, replies,... 🙂
It would be better to disable wpDiscuz font-family. In this case wpDiscuz comment box will inherits your website Persian font.
Please navigate to Dashboard > Comments > wpDiscuz Settings > Styling Tab and put this CSS code in "Custom CSS Code" text area:
#wpcomm .wc-comment-header, #wpcomm .wc-comment .wc-comment-left {
font-family: inherit!important
}
#wpcomm .wc-comment-footer {
font-family: inherit!important
}
My website is English, but I like to change the default Persian embedded glyphs in (for example) Arial which is very ugly to my font-face Persian font. 🙂
I did this for RSS widget and Last Tweets plug-in, worked flawlessly. And I did it to wpDiscuz, but it does not apply to all of the texts, I mean there are a lot of them which I can't figure them out from the wpDiscuz css files.
The code I added and you wrote does not apply to the comment text itself.
I can't attach files here, I don't know why! So please see this link:
Green is working and Orange is not.
Hi si47ash,
We understand that it is a bit difficult to find the correct area, but please try. This CSS code worked about all users who had such issue. Please be attentive and care full. Do it and let us know.
I'm not saying it didn't work. It is a simple question. What are the #wpcomm lines for the comment area textarea, stuff like that.
Liked this plug-in a lot, but since most of the comments would be Persian, if this isn't working for me, I suppose I have to find another plug-in.
Nice plug-in btw.