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 corners

Rounded corners

Scheduled Pinned Locked Moved General Discussion
17 Posts 3 Posters 2.6k 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.
  • arminunruhA
    arminunruhA
    arminunruh
    Global Moderator
    wrote on last edited by
    #3

    Enter this css in "lay options" -> "custom css & html" -> "custom css"

    at the moment, if you click on an image element in the gridder or on a text element, it already gives u rounded corners settings on the right

    1 Reply Last reply
    1
    • F
      F
      fernandol97
      wrote on last edited by
      #4

      thanks so much man

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

        @arminunruh any idea whats going on with the element gird at the bottom of the page? any way to make them match the carousels above? thanks
        https://www.fernandolobina.com/

        1 Reply Last reply
        0
        • arminunruhA
          arminunruhA
          arminunruh
          Global Moderator
          wrote on last edited by
          #6
          .type-elementgrid .img img{
              border-radius: 20px;
              overflow: hidden;
          }
          .type-elementgrid .img .ph{
              border-radius: 20px;
              overflow: hidden;
          }
          

          can you try this instead please

          (remove this css from my previous post):
          .type-elementgrid .img{
          border-radius: 20px;
          overflow: hidden;
          }

          1 Reply Last reply
          1
          • F
            F
            fernandol97
            wrote on last edited by
            #7

            Hey @arminunruh, hope you are good.
            is there any way to turn off the rounded corners for selceted pages? i only want the rounded corners on my home page. I am thinking about adding a phoogaphy page and i woul like to turn the rounded corners off for that, and would also like to turn off the rounded corners on my case study pages. this is the current code i have in there

            .lay-carousel{
                border-radius: 12px;
                overflow: hidden;
            }.type-elementgrid .img img{
                border-radius: 12px;
                overflow: hidden;
            }
            .type-elementgrid .img .ph{
                border-radius: 12px;
                overflow: hidden;
            }
            
            A 1 Reply Last reply
            0
            • F fernandol97

              Hey @arminunruh, hope you are good.
              is there any way to turn off the rounded corners for selceted pages? i only want the rounded corners on my home page. I am thinking about adding a phoogaphy page and i woul like to turn the rounded corners off for that, and would also like to turn off the rounded corners on my case study pages. this is the current code i have in there

              .lay-carousel{
                  border-radius: 12px;
                  overflow: hidden;
              }.type-elementgrid .img img{
                  border-radius: 12px;
                  overflow: hidden;
              }
              .type-elementgrid .img .ph{
                  border-radius: 12px;
                  overflow: hidden;
              }
              
              A
              A
              alasdair17
              Global Moderator
              wrote on last edited by alasdair17
              #8

              @fernandol97 hey, try adding:

              "body.slug-photography" before your selectors on your new photography page like:

              body.slug-photography .type-elementgrid .img img{
              border-radius: 0px;
              overflow: hidden;
              }

              if your photography url page isn't /photography you would just change photography to whatever you've called it :)

              for a case study try:

              body.slug-volvoex90 .type-elementgrid .img img {
              border-radius: 0px;
              overflow: hidden;
              }

              There's useful css info here: https://laytheme.com/documentation/custom-css-styling.html

              F 1 Reply Last reply
              0
              • A alasdair17

                @fernandol97 hey, try adding:

                "body.slug-photography" before your selectors on your new photography page like:

                body.slug-photography .type-elementgrid .img img{
                border-radius: 0px;
                overflow: hidden;
                }

                if your photography url page isn't /photography you would just change photography to whatever you've called it :)

                for a case study try:

                body.slug-volvoex90 .type-elementgrid .img img {
                border-radius: 0px;
                overflow: hidden;
                }

                There's useful css info here: https://laytheme.com/documentation/custom-css-styling.html

                F
                F
                fernandol97
                wrote on last edited by
                #9

                @alasdair17 Thank you, do i just add it to the bottom like this? Excuse my niavety when it comes to CSS stuff. I there a way of me also to disable it from other pages like my case study pages? Screenshot 2025-08-13 at 10.44.20 am.png

                A 1 Reply Last reply
                0
                • F fernandol97

                  @alasdair17 Thank you, do i just add it to the bottom like this? Excuse my niavety when it comes to CSS stuff. I there a way of me also to disable it from other pages like my case study pages? Screenshot 2025-08-13 at 10.44.20 am.png

                  A
                  A
                  alasdair17
                  Global Moderator
                  wrote on last edited by alasdair17
                  #10

                  @fernandol97 I've noticed on your website your photos page has a -2 after the url so it would need to be:

                  body.slug-photographs-2 .lay-carousel {
                  border-radius: 0;
                  }

                  body.slug-photographs-2 .type-elementgrid .img img {
                  border-radius: 0;
                  }

                  etc etc

                  for case studies, just take the individual case study url so for the car one it would be:

                  body.slug-volvoex90 .lay-carousel {
                  border-radius: 0;
                  }

                  etc etc

                  Any issues let me know, i'm happy to help :)

                  F 1 Reply Last reply
                  1
                  • A alasdair17

                    @fernandol97 I've noticed on your website your photos page has a -2 after the url so it would need to be:

                    body.slug-photographs-2 .lay-carousel {
                    border-radius: 0;
                    }

                    body.slug-photographs-2 .type-elementgrid .img img {
                    border-radius: 0;
                    }

                    etc etc

                    for case studies, just take the individual case study url so for the car one it would be:

                    body.slug-volvoex90 .lay-carousel {
                    border-radius: 0;
                    }

                    etc etc

                    Any issues let me know, i'm happy to help :)

                    F
                    F
                    fernandol97
                    wrote on last edited by fernandol97
                    #11

                    @alasdair17 Thank you for this. i am super uneducated when it comes to CSS i think i am doing somthing wrong.
                    I updated the Page URL to https://www.fernandolobina.com/photographs/, but am i copy and pasting the lines of text yoyu supplied me with into the correct locations here?

                    Screenshot 2025-08-13 at 11.00.32 am.png

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

                      or in lay options -> custom css & hml

                      1 Reply Last reply
                      0
                      • F fernandol97

                        @alasdair17 Thank you for this. i am super uneducated when it comes to CSS i think i am doing somthing wrong.
                        I updated the Page URL to https://www.fernandolobina.com/photographs/, but am i copy and pasting the lines of text yoyu supplied me with into the correct locations here?

                        Screenshot 2025-08-13 at 11.00.32 am.png

                        A
                        A
                        alasdair17
                        Global Moderator
                        wrote on last edited by
                        #13

                        @fernandol97

                        body.slug-photographs .type-elementgrid .img img {
                        border-radius: 0;
                        }

                        try pasting this in, strange why its not working hmm

                        1 Reply Last reply
                        0
                        • F
                          F
                          fernandol97
                          wrote on last edited by
                          #14

                          Chat GPT seemed to supply me with this, it worked!

                          /* Global styles that round all images */
                          .lay-carousel {
                              border-radius: 12px;
                              overflow: hidden;
                          }
                          .type-elementgrid .img img {
                              border-radius: 12px;
                              overflow: hidden;
                          }
                          .type-elementgrid .img .ph {
                              border-radius: 12px;
                              overflow: hidden;
                          }
                          
                          /* Page-specific override: remove rounding on photographs page */
                          body.slug-photographs .lay-carousel {
                              border-radius: 0;
                          }
                          
                          body.slug-photographs .type-elementgrid .img img {
                              border-radius: 0;
                          }
                          
                          body.slug-photographs .type-elementgrid .img .ph {
                              border-radius: 0;
                          }
                          
                          
                          A 1 Reply Last reply
                          1
                          • F fernandol97

                            Chat GPT seemed to supply me with this, it worked!

                            /* Global styles that round all images */
                            .lay-carousel {
                                border-radius: 12px;
                                overflow: hidden;
                            }
                            .type-elementgrid .img img {
                                border-radius: 12px;
                                overflow: hidden;
                            }
                            .type-elementgrid .img .ph {
                                border-radius: 12px;
                                overflow: hidden;
                            }
                            
                            /* Page-specific override: remove rounding on photographs page */
                            body.slug-photographs .lay-carousel {
                                border-radius: 0;
                            }
                            
                            body.slug-photographs .type-elementgrid .img img {
                                border-radius: 0;
                            }
                            
                            body.slug-photographs .type-elementgrid .img .ph {
                                border-radius: 0;
                            }
                            
                            
                            A
                            A
                            alasdair17
                            Global Moderator
                            wrote on last edited by
                            #15

                            @fernandol97 nice one!

                            1 Reply Last reply
                            0
                            • F
                              F
                              fernandol97
                              wrote on last edited by
                              #16

                              thanks for the help guys!!

                              A 1 Reply Last reply
                              1
                              • F fernandol97

                                thanks for the help guys!!

                                A
                                A
                                alasdair17
                                Global Moderator
                                wrote on last edited by
                                #17

                                @fernandol97 just realised it wasn't working was because you were missing a closing bracket }

                                that's why it was showing up as red, you needed a closing } after "hidden;"

                                1 Reply Last reply
                                0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                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