Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1293911

    Hi,
    the font style of product loop on https://cbd-bluetenwunder.shop/cbd-produkte/ is not displayed correctly on mobile: font family (font is uploaded and embedded via Enfold), font weight, centered price look different.
    What can be the cause and what’s the solution?
    Thanks, Stefan

    #1294244

    Hi Stefan,

    Could you post a screenshot highlighting the problem please? Also let us know in which browser and device you are seeing the results you are getting.

    Best regards,
    Rikard

    #1294270

    Hi Rikard,
    it occurs in Safari browser on Apple iPhone.
    Mobile display with wrong CSS
    Thanks for your efforts!
    Stefan

    #1294679

    Hi,

    Thank you for the inquiry.

    How did you add the “bergen” font, and where did you get the font file? Please provide the font URL in the private field.

    Best regards,
    Ismael

    #1294729

    Hi Ismael,
    we uploaded the font zip-file to WordPress media und added it at Enfold child theme options – Import/Export – Font manager
    We’ve licenced it here https://graphicriver.net/item/bergen-sans-font/25507144
    Thanks
    Stefan

    #1295083

    Hi,

    Thank you for the info.

    Can we have access to the font? We would like to check the files and test it on our own installation. Please post the info in the private field.

    Is it displaying properly when the Performance > File Compression settings are disabled?

    Best regards,
    Ismael

    #1295183

    Hi,
    no, disabling file compression doesn’t change anything.
    Find the font in the private field.
    Thanks, Stefan

    #1295672

    Hi,

    Thank you for following up.

    It is not working properly because the font format is .otf. You can actually confirm it by checking the wp-content/uploads/avia_fonts/bergen folder. It will be empty.

    Please try to download the .ttf versions of the font files, then upload the font set again.

    Best regards,
    Ismael

    #1295749

    Hi Ismael,

    as the font is not available as TTF on Graphicriver I converted the OTF files to TTF and uploaded the font set again (now the folder contains the fonts). But this was not the solution. But: If I change the font-family in CSS to another uploaded font (e.g. Roboto) it works.

    And: the price is still not centered. Could it be that the CSS directive is i!important?
    .inner_product_header .price { text-align: center !important;}

    Thanks again
    Stefan

    #1296019

    Hi,

    Have you tried adding the font using @font-face instead of uploading it in the font manager? The font manager is originally created for Google Fonts, so it is possible that it is not able to process the custom font properly.

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

    Best regards,
    Ismael

    #1296028

    Hi,
    thank you for the tipp. I will try it later. So if you want you can close the thread.
    Best regards
    Stefan

    #1296261

    Hi Stefan,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘CSS font style not transferred to mobile display’ is closed to new replies.