Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. rounded corner for project thumbnails when mouseover

rounded corner for project thumbnails when mouseover

Scheduled Pinned Locked Moved General Discussion
6 Posts 3 Posters 401 Views 2 Watching
  • 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.
  • Thomas_blankT Offline
    Thomas_blankT Offline
    Thomas_blank
    wrote on last edited by Thomas_blank
    #1

    I would like to know if there is any way to get rounded corner on project thumbnails when mouseover?

    1 Reply Last reply
    0
    • arminunruhA Online
      arminunruhA Online
      arminunruh
      Global Moderator
      wrote on last edited by
      #2
      .thumb-rel{
          overflow: hidden;
          transition: all 200ms ease;
          border-radius: 0;
      }
      
      .thumbnail-wrap:hover .thumb-rel{
          border-radius: 30px;
      }
      
      Thomas_blankT 1 Reply Last reply
      0
      • arminunruhA arminunruh
        .thumb-rel{
            overflow: hidden;
            transition: all 200ms ease;
            border-radius: 0;
        }
        
        .thumbnail-wrap:hover .thumb-rel{
            border-radius: 30px;
        }
        
        Thomas_blankT Offline
        Thomas_blankT Offline
        Thomas_blank
        wrote on last edited by
        #3

        Great! Thanks @arminunruh it works perfect 👌

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lasse.s 0
          wrote last edited by
          #4

          Hey, my Thumbnails are already set to a rounded border, when I use the code above to ensure that they stay at that radius when hovering, there is still some glitching happening, showing the sharp (not rounded) edges between the hovering and not hovering state.
          Is there a way to fix that?

          1 Reply Last reply
          0
          • arminunruhA Online
            arminunruhA Online
            arminunruh
            Global Moderator
            wrote last edited by arminunruh
            #5

            If your thumbnails already have a rounded corner, you should not need extra CSS rules for hover just to keep them rounded on hover. Can you please post your website URL so I can actually see your rounded corners? I have to see how you set it up, or you can paste the CSS you used to create the rounded corners here.

            For the thumbnail grid, if you edit it in the thumbnail grid modal, there are rounded corner settings there right now. You could also just choose to use those instead of your custom CSS. In case you use rounded corners at all

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lasse.s 0
              wrote last edited by
              #6

              Hey Armin, here is the URL: lasseschmieder.de
              Thank you!

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


              For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).

              We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.

              Want to support my work? paypal.me/arminunruh

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