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. Bug Reports
  3. Horizontal lines display on Windows

Horizontal lines display on Windows

Scheduled Pinned Locked Moved Bug Reports
9 Posts 5 Posters 137 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.
  • Hayo GebauerH Offline
    Hayo GebauerH Offline
    Hayo Gebauer
    wrote on last edited by Hayo Gebauer
    #1

    Hey,

    Whenever I view my website: www.hayogebauer.com on Windows 10 (4k Display) the horizontal lines seem to have different thicknesses.

    Windows10.JPG

    E: no problem on MacOS and Windows with a regular Display

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

      Dear @Hayo-Gebauer

      Thank you for the update - I have forwarded this for futher inspection āœ…


      Best wishes 🌼
      Richard
      1 Reply Last reply
      1
      • arminunruhA Offline
        arminunruhA Offline
        arminunruh
        Global Moderator
        wrote on last edited by
        #3

        hm not sure why this happens :/

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vua
          wrote on last edited by
          #4

          Hi, i have the same problem on a regular display.
          https://vuarchitects.hu/

          Is there any solution?

          1 Reply Last reply
          0
          • F Offline
            F Offline
            felix_rabe
            wrote on last edited by
            #5

            @vua on my 5k apple studio display it looks fine. if your display does not have a high end resolution the thickness of very thin lines can vary.

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

              hello!
              you have your row spaces set in %
              Screenshot 2025-01-06 at 17.04.55.png

              you can set them in px instead and try if that changes it

              my guess is when using percentage based spaces, an element can be rendered in 0,1 or 0,5 px steps.

              for example a line is not rendered at 1400px from the top but at 1400,2px from the top, causing a blurry line

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

                Screenshot 2025-01-06 at 17.07.30.png

                so on your page in the gridder you would click on the %sign, to make it px.

                but im not sure if that will help because it also depends on all the of things around it. and im not sure if for example the texts also have a perfect pixel height. or the things above your lines.

                the texts inside your rows are links. to make them have a round pixel height, you could use this css

                body.home a{
                line-height: 25px;
                } 
                
                1 Reply Last reply
                0
                • F felix_rabe

                  @vua on my 5k apple studio display it looks fine. if your display does not have a high end resolution the thickness of very thin lines can vary.

                  V Offline
                  V Offline
                  vua
                  wrote on last edited by
                  #8

                  @felix_rabe
                  I have a lenovo legion laptop where I notice these varying lines.
                  On a mac there is no problem.
                  maybe thats, the issue, but it's hard to believe they sell such shity displays:/

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

                    its probably a combination of how a browser renders lines and how the screen displays the lines

                    i dont do anything special with the lines like special css.
                    its literally just:

                    .lay-hr {
                        height: 1px;
                        background-color: #000000;
                    }
                    

                    maybe try this css:

                    body {
                        -webkit-font-smoothing: none!important;
                        text-rendering: initial!important;
                    }
                    

                    maybe this css changes sth?
                    but im not sure, this is just for fonts i think.
                    maybe you can find something on google

                    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
                    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