Tagged: ,

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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 9 years ago by Sadegh.
    #550484

    Hi Sadegh!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    fieldset label {
        font-family: 'my_fonts_name';
    }

    Cheers!
    Yigit

    #550499

    Hi 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)

    #550741

    Hi!

    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!
    Basilis

    #550889

    sure, 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 9 years ago by Sadegh.
    #551640

    Hi!

    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!
    Josue

    #551654

    Sure, (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 9 years ago by Sadegh.
    #551659

    Hi!

    Is this the IRANSans font? that’s how i see it on my end.

    Cheers!
    Josue

    #551668

    Yes, exactly.

    #551671

    Well 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,
    Josue

    #551676

    Oh, 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:
    As you may see, fields' font is not like IRANSans

    > 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

    #551682

    Add this too:

    input[type='text'],
    input[type='email'],
    textarea{
        font-family: 'IRANSans Regular', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    }
    #551685

    I 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

    #551690

    You got the first part wrong, check the code again.

    #551699

    Oh, 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)

    #551708
    #551717

    Thank you, I used the article and it works fine now.
    Thanks again for your kind replies.
    Bests

    #551720

    You are welcome, glad to help :)

    Regards,
    Josue

    #553669

    :)

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Modify custom font in Contact-Form Fields’ is closed to new replies.