Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    How to disable webkit-font-smoothing

    Bug Reports
    2
    4
    30
    Loading More Posts
    • 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.
    • E
      Elli 0 last edited by

      Hello!

      I figured out my problem with the slightly larger font. And I need to get rid of some smoothing somehow. Can you help me out on how to overwrite this part?

      Regards!

      Elli

      Bildschirmfoto 2023-02-21 um 12.58.40.png

      1 Reply Last reply Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by

        hey there!

        body{
        font-smooth: never!important;
        -webkit-font-smooth: never!important;
        }
        

        maybe also this:

        body{
        text-rendering: unset!important;
        }
        
        1 Reply Last reply Reply Quote 0
        • arminunruh
          arminunruh Global Moderator last edited by

          Screenshot 2023-02-22 at 14.10.24.png

          it seems you want to overwrite css for this selector

          just use this selector instead of "body". like:

          [class*=" icon-oc-"],  [class^=icon-oc-]{
          font-smooth: never!important;
          -webkit-font-smooth: never!important;
          }
          
          1 Reply Last reply Reply Quote 0
          • E
            Elli 0 last edited by

            Thank you for the fast response!

            I put the code in the custom CSS sector but it's not working. The Font looks the same way as before. Do you have any other ideas how to solve this?

            Regards!
            Elena

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Post a link to where the problem is
            I don't answer or check forum DMs, please just post on the forum.
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

            Before you post:

            Use the Search Feature. Maybe there is already a solution to your issue.

            1. Update Lay Theme and all Lay Theme Addons
            2. Disable all Plugins
            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
            4. Now see if your problem solved itself
            5. Go here, see if your problem is listed here:
            Troubleshooting

            When you post:
            1. Post a link to where the problem is
            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

            Thanks!

            Online Users

            Recent Topics

            • H

              sumbmenu on mobile device

            • Q

              backdrop blur on ios

            • While editing the carousel, the images are not displayed correctly

            • Sticky Footer now has Background

            laytheme.com