Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    help question Problem with font in different web browsers

    Hi,

    I have the problem with appearance of some specific letters that I am using in my template. All letters (standard and specific) appear in Google Chrome as the correct font.
    But the problem is in other web browsers (Edge / Explorer and Mozilla Firefox). The specific letters appear as a different font in comparison to other letters that appear correctly.

    I found on my web server the fonts uploaded on this location: includes/template/MY_TEMPLATE/css/font-awesome
    On this location there are two folders:
    css - contains the file font-awesome.css
    fonts - contains the uploaded fonts with ttf, otf,... extensions

    How I can "force" other web browsers to show my web content in the same way as Google Chrome?

    Many thanks!

  2. #2
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Problem with font in different web browsers

    In addition to my first post.

    My site is using utf-8 as explained here:
    https://www.zen-cart.com/content.php...8859-1-to-utf8

  3. #3
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Problem with font in different web browsers

    Here are more information (I'm investigating this issue in the meantime an that's why I didn't put all of this info to the initial message).

    I found in html_header.php file next font definition:
    <link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css' />
    <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css' />


    I didn't found Oswald and PT Sans fonts in my font folder: includes/template/MY_TEMPLATE/css/font-awesome

    I uploaded these fonts to this location and then add this to the html_header.php file:
    <link href='..css/font-awesome/fonts/Oswald-Regular.ttf' rel='stylesheet' type='text/css' />
    <link href='..css/font-awesome/fonts/PTC55F.ttf' rel='stylesheet' type='text/css' />


    Doing this I tried to load the fonts from my web server, not as Google fonts, but it doesn't solve my issue.

    Still need help.

    Many thanks!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Problem with font in different web browsers

    Fonts displayed are NOT what you have loaded in your template or anywhere else

    They are dependent upon what fonts the browser has available to it locally

    If you Must have a specific font face represented to all viewers - make it an image
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Problem with font in different web browsers

    Quote Originally Posted by kobra View Post
    If you Must have a specific font face represented to all viewers - make it an image
    Sorry I didn't understand this well. Also If fonts displayed are not what I have loaded why there is already the path to google font defined in html.header.php?

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Problem with font in different web browsers

    why there is already the path to google font defined in html.header.php?
    Must have been added by you or a module you have added as it is not in a fresh fileset
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. font color issues - different between browsers
    By matchlock in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Jun 2011, 08:15 PM
  2. Different browsers different font
    By cdnbride in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Dec 2010, 10:29 AM
  3. Problem with CSS in different browsers?
    By wondergirl in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 7 Dec 2008, 04:50 AM
  4. Positioning Issues with Different Browsers
    By swelter83 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Mar 2008, 02:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg