Tagged: CONTACT FORM, font
-
AuthorPosts
-
December 10, 2015 at 10:52 am #550272
Hi,
I needed to use a custom font in contact-form fields. So I found the related line and code with help of inspect element, but I don’t know how can I apply it into the theme.
Here is the address I found:
http://i-signage.ir/wp-content/uploads/dynamic_avia/enfold_child.css?ver=56693a5f08366
And I just add this below code to the lines and it worked fine:
`font-family: ‘my_fonts_name’;Please let me know how can I apply this one into child-theme.
Thanks in advance- This topic was modified 8 years, 11 months ago by Sadegh.
December 10, 2015 at 4:01 pm #550484Hi Sadegh!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
fieldset label { font-family: 'my_fonts_name'; }
Cheers!
YigitDecember 10, 2015 at 4:19 pm #550499Hi Yigit,
I’ve added that code, but It doesn’t seems to be worked.
(FYI: I’m using Fontpress Plugin in my WordPress instead of font-face command)December 10, 2015 at 9:57 pm #550741Hi!
From a first look, your css file seems to be having some issues.
Can we please give it a look, can you share with us backend access?Cheers!
BasilisDecember 11, 2015 at 8:31 am #550889sure, please take a look at private part below.
–
Plus, it seems that non of the messages from Contact-Form delivered to me. I don’t know if it is related to this issue or not, but Contact-Form doesn’t work for me.- This reply was modified 8 years, 11 months ago by Sadegh.
December 13, 2015 at 2:20 pm #551640Hi!
Can you post a link to the contact page? also, what’s the name of the font you’re trying to use (and to which elements)?
Cheers!
JosueDecember 13, 2015 at 2:32 pm #551654Sure, (you could have found it from permalinks in menu though, as my website has just 3 pages):
> http://i-signage.ir/contact/
And the font that is used in my website is “IRANSans Regular“; which is activated from font-face command, by using FontPress plugin. You could find it from the FontPress plugin page in my dashboard.Thanks in advance
- This reply was modified 8 years, 10 months ago by Sadegh.
December 13, 2015 at 2:41 pm #551659December 13, 2015 at 2:53 pm #551668Yes, exactly.
December 13, 2015 at 2:55 pm #551671Well it seems to be loading as expected in my end, can you post a screenshot of your view? it may be a caching issue, check in another computer to discard.
Best regards,
JosueDecember 13, 2015 at 3:09 pm #551676Oh, you got it wrong :)
The Contact-Form itself doesn’t have problem with font-face. But I was trying to have the same font in all the fields, as I illustrate in below image:
> Plus, I don’t receive any message that has been sent via my contact form. I don’t know what is the issue from, as I already change the default email to my desire address.
Thanks in advance
December 13, 2015 at 3:27 pm #551682Add this too:
input[type='text'], input[type='email'], textarea{ font-family: 'IRANSans Regular', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important; }
December 13, 2015 at 3:35 pm #551685I have added this code to Quick CSS as you said:
fieldset label { input[type='text'], input[type='email'], textarea{ font-family: 'IRANSans Regular', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important; }
still doesn’t work
December 13, 2015 at 3:52 pm #551690You got the first part wrong, check the code again.
December 13, 2015 at 4:05 pm #551699Oh, you’re right. Thank you, it works great now.
–
And about the problem in receiving emails from the contact-form, do you have any idea why it’s happening? I can not receive any email from my contact form now (I assign my Gmail address as the receiver)December 13, 2015 at 4:13 pm #551708Try point 2 of this article:
http://kriesi.at/documentation/enfold/my-contact-form-is-not-sending-emails/Cheers!
JosueDecember 13, 2015 at 4:26 pm #551717Thank you, I used the article and it works fine now.
Thanks again for your kind replies.
BestsDecember 13, 2015 at 4:29 pm #551720You are welcome, glad to help :)
Regards,
JosueDecember 16, 2015 at 2:13 pm #553669 -
AuthorPosts
- The topic ‘Modify custom font in Contact-Form Fields’ is closed to new replies.