Tagged: 

Viewing 29 posts - 1 through 29 (of 29 total)
  • Author
    Posts
  • #1396188

    Hi, I just imported a font (Belda) and chose it in the advanced styling (H1). It is shown there. However, if I look at my website I can see the font has changed (in something standard) but it does not show the correct font. How can I get the right font (Belda) to be shown?

    In my tekst on the webpage, also H1 is chosen. So I assume the settings are ok.

    Can someone please help me with this?

    #1396309

    Hey Anouk,

    Thank you for the inquiry.

    Where did you get the font? Please note that only Google fonts are allowed in the Custom Font Manager. You may need to load the font and apply it to the elements manually using the @font-face rule.

    // https://css-tricks.com/snippets/css/using-font-face-in-css/

    Best regards,
    Ismael

    #1396543

    Hi Ismael,

    Thank you for your reply. The font is from Adobe and it is not part of Google Fonts. So, does this mean I can not use it?

    Using the font-face-rule seems to comlicated for me. English is not my native language, and I am also not very technical with css things. I don’t understand how this works.

    Best wishes, Anouk

    #1396641

    Hi,

    Thanks for the update. Did you get any documentation with your Adobe font? If so, then please share it with us. If not, then you could simply upload the font to your server, then we can help you out with custom CSS for loading it. If you don’t want to do this extra work, then it be better to consider a Google font instead.

    Best regards,
    Rikard

    #1396643

    Hi, thanks. Yes, I would love to try. How can I upload the documntation and share it with you?

    #1396654

    Hi,

    You can upload that to a service like Google Drive or Dropbox for example.

    Best regards,
    Rikard

    #1396656
    #1396677

    Hi,

    Thanks, but that file or folder is not shared publicly, so we can’t access it.

    Best regards,
    Rikard

    #1396713

    ok, it should be open now. Thanks!

    #1396729

    Hi,

    Thanks for that. The file you linked to only contains a font file, so that is what you would need to upload to your server.

    Best regards,
    Rikard

    #1396774

    I already uploaded it to the server and also in the website. But it is not shown on the website as it should so it looks it does not work.

    Best wishes, Anouk

    #1396785

    Hi,
    I tested your font file on my demo site and because it is a OTF file type the Custom Font Manager didn’t extract it it only created a folder so in the setting it looks like an option, so as Ismael pointed out above only Google fonts are allowed in the Custom Font Manager.
    I tested this workaround, first extract your font zip to your computer, you will see the font is named insigne – Belda Norm Regular.otf change to belda-font.otf for easier use and upload to your site via FTP, for example: /wp-content/uploads/dynamic_avia/avia_type_fonts/belda-font/belda-font.otf anywhere should be fine, this is what worked for me.
    Then add this css to your child theme stylesheet, or your parent theme custom.css file or use a plugin like WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets.

    @font-face {
      font-family: 'belda-font';
      src: url('/wp-content/uploads/dynamic_avia/avia_type_fonts/belda-font/belda-font.otf') format('opentype');
    }

    Then to use the font you will create another css rule, this example is for H1 special heading element:

    h1.av-special-heading-tag {
    	font-family: belda-font;
    }

    but you can target any element you wish.
    Then clear your browser cache and check, this is the results I received:
    Enfold_Support_300.jpeg

    Best regards,
    Mike

    #1396830

    Hi Mike, first of all, thank you for your answer. Second, the things you mention sound like abracadabra to me. The font was already extracted from the zip on my computer.

    First of all, I am not able to change the name insigne – Belda Norm Regular.otf into belda-font.otf. There is no option to change this name. The only option I see is, open, cut, copy, delete or features.

    I don’t know what FTP, CSS, stylesheet and the rest is. This whole part: “via FTP, for example: /wp-content/uploads/dynamic_avia/avia_type_fonts/belda-font/belda-font.otf anywhere should be fine, this is what worked for me.
    Then add this css to your child theme stylesheet, or your parent theme custom.css file or use a plugin like WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets.” is abracadabra to me.

    I activated the WP Code plugin.

    Can you help me to fix this?

    Thanks in advance, Anouk

    • This reply was modified 1 year, 10 months ago by Anouk.
    #1396835

    Hi,
    Can you include an FTP login in the Private Content area so we can upload the font for you?
    If you don’t know what FTP is, do you have a cPanel login, or file manager login for your webhost?

    Best regards,
    Mike

    #1396841

    Hi Mike, see details below. Thanks!

    #1396882

    Hi,
    Thank you for the admin login to your site, but I need access to your server to add the font file, such as the File Manager in cPanel, or an FTP account, these two articles are for general information as I don’t know what hosting company you are using. Another option would be to ask your hosting company support to place the font file in the location that I posted above, and ensure it is named belda-font.otf
    /wp-content/uploads/dynamic_avia/avia_type_fonts/belda-font/belda-font.otf
    They will understand and it will be quite easy for them, I’m happy to do it for you but I will need access to your server.

    Best regards,
    Mike

    #1396883

    Hi Mike, ok, I think I understand now. Below you will see the details. I already changed the webhost/website in English so you can find your way.

    #1396888

    Hi,
    Thanks for the access, I added the font file and added the font-face css to the wpcode plugin, and created a test page linked below to demonstrate that the font is working.
    If you explain where you want this font to show on your site I can assist.
    Please check the test page.

    Best regards,
    Mike

    #1396889

    You are a hero!!!!!!! Thank you! I would like this font in the H1 with all capital letters (if this is something you can choose, otherwise I will change it myself). And also in the layersliders please.

    Thank you so much!!!!

    • This reply was modified 1 year, 10 months ago by Anouk.
    #1396973

    Hi,
    Thanks, do you mean the H1’s that are currently using the font “Love Ya Like A Sister”, to change all of these I added a wpcode snippet called H1 belda-font with this rule:

    #main h1 strong {
    	font-family: belda-font;
    }

    and for the LayerSlider I edited the text layer element by first removing the font “Love Ya Like A Sister” and then when to Style ▸ Advanced Settings ▸ Custom CSS and added this css:

    font-family: belda-font;

    Enfold_Support_302.jpeg
    please clear your browser cache and check.

    Best regards,
    Mike

    #1396975

    Yes, it works!!!!!! Awesome! Thousand time thank you!!!!!

    #1396979

    Hi,
    Glad this helps, Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    #1397119

    Thank you Mike. It was easy to change the things by myself with your help.

    The only thing it didn’t work out is one field (a special heading) on the homepage. It is called KIES HIER JOUW REIS and it has also the H1 style. I tried to put this (font-family: belda-font;) in the advanced settings, but the font does not change. How can I change it also here?

    Thank you in advance.

    Best wishes, Anouk

    #1397149

    Hi,
    I see that you gave the special heading the ID font-family-belda-font so try this css:

    #font-family-belda-font h1 {
    	font-family: belda-font;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1397155

    I tried to put this in ‘developers settings’ in the special header. There are 3 rows in this section. But neither of them seems to work. I filled #font-family-belda-font h1 { font-family: belda-font; }.
    The font does not change. Should I put the css somewhere else?

    #1397176

    Hi,
    Please try adding the css above to the Enfold Theme Options ▸ General Styling ▸ Quick CSS field
    The Developers Settings are for adding custom classes & IDs, for the element it looked like you had the custom ID font-family-belda-font in place, please leave this.

    Best regards,
    Mike

    #1397177

    I did put it there, In general styling and quick CSS. But it still shows the old font.

    #1397178

    I found the problem, I had to delete the H1 in Google Fonts. Now it is shown correctly. Thank you for your help! You can close this case.

    Best wishes, Anouk

    #1397195

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 29 posts - 1 through 29 (of 29 total)
  • The topic ‘Font does not show on website’ is closed to new replies.