Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Bad webfont rendering in menu

Bad webfont rendering in menu

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 609 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kristina
    wrote on last edited by arminunruh
    #1

    Hi Armin,
    I'm using a webfont (purchased on My Fonts) on the website, I had it uploaded as .woff. It looks fine on Chrome but renders badly on Safari browser, strangely looks bad only on the menu but not anywhere else. Any reason why that happens and what should I do? To see what happens please go to http://jasonrosha.com/shazam-media-silicon-valley-ca/ on Safari browser. Thank you! Kristina

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      Hey Kristina!
      Fonts do render slightly differently on different browsers. But on your website I see that the font renders nicely for your site title and tagline but for the menu it looks off.

      I see your site title and tagline have a font-weight of 400. Your menu has a font-weight of 300. Please try to set the font-weight to "normal(400)" for your menu in "Customize" -> "Menu Style" -> "Menu" -> "Font Weight".

      Also you can try this css in "Lay Options" -> "Custom CSS & HTML" -> "Custom CSS for Desktop Version"

      body{
      -webkit-font-smoothing: antialiased;
      }
      

      Let me know if that doesn't help :D

      K 1 Reply Last reply
      0
      • arminunruhA arminunruh

        Hey Kristina!
        Fonts do render slightly differently on different browsers. But on your website I see that the font renders nicely for your site title and tagline but for the menu it looks off.

        I see your site title and tagline have a font-weight of 400. Your menu has a font-weight of 300. Please try to set the font-weight to "normal(400)" for your menu in "Customize" -> "Menu Style" -> "Menu" -> "Font Weight".

        Also you can try this css in "Lay Options" -> "Custom CSS & HTML" -> "Custom CSS for Desktop Version"

        body{
        -webkit-font-smoothing: antialiased;
        }
        

        Let me know if that doesn't help :D

        K Offline
        K Offline
        Kristina
        wrote on last edited by
        #3

        @arminunruh Hey, thanks so much! I'm not sure if it worked. http://jasonrosha.com/shazam-media-silicon-valley-ca/ The menu still looks different from the rest. I've switched all to Light 300 now. But when I add that css code it turns all texts into the way the menu looks now :D Whereas I wish it to be the other way, the way the paragraph text looks now I want the menu to look like. They are the same font style - Soin Sans Light Oblique. If you have any other ideas let me know! If not I'll just have to leave it as it is. Thank you!

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          hey Kristina, I think I found the reason for the rendering problem. I'm using some css for the menu that causes this. I'm going to remove that css for a future update.

          Here is how you can disable that css. Please enter this css into "lay options" -> "custom css & html" -> "css for desktop version":

          nav.primary{
          -webkit-transform: none;
          transform: none;
          }
          

          Please note when using the css above it might not be possible to center the menu in the customizer.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Kristina
            wrote on last edited by
            #5

            @arminunruh said:

            nav.primary{
            -webkit-transform: none;
            transform: none;
            }

            That worked perfectly! Thanks so much for all.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            šŸ’æ Email me here: šŸ’æ
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            R
            renno
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search