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. border-radius not working since last update

border-radius not working since last update

Scheduled Pinned Locked Moved Bug Reports
12 Posts 2 Posters 86 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.
  • T Offline
    T Offline
    TYLM
    wrote on last edited by
    #1

    Hello there,

    I just noticed that the border-radius on some of my rows stopped working after the last update. I have a .spaceRow class applied to certain rows, which are supposed to have a border-radius of 0.5vw by default and 100% on hover. However, the rows now have straight corners, and nothing happens on hover. The problem seems to only exist for the overlay/page “Spaces.”

    Could you help me figure out what's causing this issue?

    https://office.theomarielle.com/

    Thanks!

    Capture d’écran 2025-03-12 à 10.49.29.png

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

      you also need to target

      .row-inner{}

      so do:

      .spaceRow .row-inner{
      border-radius: 10px;
      }
      
      1 Reply Last reply
      0
      • T Offline
        T Offline
        TYLM
        wrote on last edited by
        #3

        Ok so I just did that but it doesn't change anything

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

          ah yea i was wrong

          just do:

          .row.spaceRow{
              border-radius: 20px;
              overflow: hidden;
          }
          
          1 Reply Last reply
          0
          • T Offline
            T Offline
            TYLM
            wrote on last edited by
            #5

            Thanks a lot ! It works again now :)

            1 Reply Last reply
            0
            • T Offline
              T Offline
              TYLM
              wrote on last edited by
              #6

              Hello there,

              Actually, I noticed a different issue: when hovering over the corners of .row.spaceRow divs, they glitch because the hoverable surface changes size dynamically. This causes the border-radius transition to repeatedly toggle, creating a flickering effect.

              Has anyone experienced this before? Any idea how to prevent the hover from being interrupted in the corners?

              Thanks in advance for your help!

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

                idk what u mean for me it looks like this:
                https://www.dropbox.com/scl/fi/tdllv0lcjgup0wth2qfey/Screen-Recording-2025-03-31-at-17.22.32.mov?rlkey=oa6xb4cezc9zux5rmdcban1oc&st=fxw9gsn7&dl=0

                can u do a video or screenshots to explain

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  TYLM
                  wrote on last edited by
                  #8

                  Here's a video https://www.dropbox.com/t/5R662Fbuq9sUPrGt

                  Btw I'm using Firefox if that's useful

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

                    Screenshot 2025-03-31 at 17.35.24.png

                    did you put wrong custom height here?
                    in right click row - set custom height

                    %px is invalid css

                    change your css to be more like this:

                    .row.spaceRow{
                    background-color: transparent!important;
                    }
                    .row.spaceRow .row-inner{
                    border-radius: var(--borderRadius);
                    }
                    .row.spaceRow:hover .row-inner{
                    border-radius: var(--borderRadiusFull);
                    }
                    

                    dont put your border radius on row, instead use it on row-inner

                    then use we use the hover on .row to style .row-inner

                    my guess is firefox changes the boundary boxes of where :hover is applicable when the box gets round.
                    doing the above we can circumvent this. cause .row's box will stay the same, only the inner .row-inner radius will change.

                    both .row-inner and .row use the background color. by setting the .row bg color to transparent, we make sure only the bg color of the div that gets rounded during the animation is in use

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      TYLM
                      wrote on last edited by
                      #10

                      I understand the logic – though applying a border-radius on .row-inner doesn't seem to work for some reason

                      Capture d’écran 2025-03-31 à 17.50.30.png Capture d’écran 2025-03-31 à 17.50.26.png

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

                        u need to apply background: transparent!important; to .row

                        and overflow: hidden to .row-inner

                        probably the overflow: hidden was missing

                        .row.spaceRow{
                        background-color: transparent!important;
                        }
                        .row.spaceRow .row-inner{
                        border-radius: var(--borderRadius);
                        overflow: hidden!important;
                        }
                        .row.spaceRow:hover .row-inner{
                        border-radius: var(--borderRadiusFull);
                        }
                        

                        try to remove your css for that and use the css above

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          TYLM
                          wrote on last edited by
                          #12

                          It works perfectly now! Thanks a lot for your help @arminunruh :)

                          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
                          A
                          alasdair17
                          K
                          Kai Schecker
                          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