Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Adding a new font is not working

font style
    • 9 years, 3 months ago sus2007
      Participant

      Expired

      Hi there,

      i want to install a new font style. Unfortunately it’s not working.
      I made everything like in this article: https://support.codeless.co/knowledge-base/how-to-add-a-custom-font-style/

      But later i receive this error message:
      <span style=”color: #666666; font-family: ‘Helvetica Neue’, Helvetica, Arial, sans-serif; font-size: 14px;”>Parse error: syntax error, unexpected ’’{ABeeZee”’ (T_ENCAPSED_AND_WHITESPACE) in /www/htdocs/w01465ba/klar-kultur-event.de/wp-content/themes/specular/admin/inc/fields/typography/googlefonts.php on line 1</span>

      What went wrong?

      Thank you guys!

    • 9 years, 3 months ago sus2007
      Participant

      Expired

      No one?

    • 9 years, 3 months ago Mirela
      Participant

      Hello,

      What font are you trying to add? A custom one or a google font? If you send us your wp and ftp credentials in a private reply, we can help you add them.
      Let us know.

      Best regards!

    • 9 years, 3 months ago sus2007
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 3 months ago sus2007
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 3 months ago sus2007
      Participant

      Expired

      Hey there!
      Just wondering if you received my message and if you can fix the problem!

      Best regards!

    • 9 years, 3 months ago sus2007
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 3 months ago sus2007
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 2 months ago Mirela
      Participant

      Hello,

      Sorry for the late reply.
      I can’t log in with the ftp, but i did add the necessary code into your style.css file. Please look for it at the end of the file, you will see the custom font css declared there.
      To use this font now you only need to assign it with normal css code into your custom css box.
      Example: nav .menu > li > a {font-family: "Delicious Bold" !important;}

      but first, you need to upload the font files into your font folder(I couldn’t do it because of the ftp not connecting). Download the package we implemented here: https://jmp.sh/so0jrnG.
      If you have any issue with it not displaying, just check out the font’s url in style.css code. Make sure for it to point to the right direction.
      Let us know for anything.

      Best regards!

      • This reply was modified 8 years, 5 months ago by Mirela.
    • 9 years, 2 months ago sus2007
      Participant

      Expired

      Ok, thank you.
      It works for the menu.
      But i want to have the whole text and headlines in the delicious font.
      Do you have a CSS Code for that?

    • 9 years, 2 months ago sus2007
      Participant

      Expired

      And also i want to have this font on the mobile Version.
      When i look now, the menu on the mobile version is still in another font.

      Thank you very much!

    • 9 years, 2 months ago Mirela
      Participant

      Hello,

      I added this line into your custom css box:
      body p {font-family: Delicious Roman !important;} it should convert every paragraph inside the body tag. While inserted inside the @media (max-width: 480px) block, it edits the mobile font as well.
      Please check your site now in both desktop and mobile. Let us know.

      Best regards!

    • 9 years, 2 months ago sus2007
      Participant

      Expired

      Hey there,

      great – that works!
      Sorry that i have to ask again but i want to have every text, headline, button ec. with the delicious font.
      Also the Service description, the text inside the Codeless-Slider, the text in the Call to Action Button, the name of the testimonial… i mean: everything should be in the delicious font.

      Is that possible?

      Thank you very much!

    • 9 years, 2 months ago Mirela
      Participant

      Hello,

      You can set this font for every element in the website just like i did before, by targeting their responsible css class. Find it via inspect element and add the code into your custom css box.
      Read more about css in this site.
      Sorry but this is a customization not included in support forum. This is all i can help you with.

      Best regards!

Viewing 13 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password