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. General Discussion
  3. Rounded corners

Rounded corners

Scheduled Pinned Locked Moved General Discussion
17 Posts 3 Posters 394 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.
  • F Offline
    F Offline
    fernandol97
    wrote 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 Offline
      A Offline
      alasdair17
      wrote 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 Offline
        F Offline
        fernandol97
        wrote 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 Offline
          A Offline
          alasdair17
          wrote 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 Offline
            F Offline
            fernandol97
            wrote 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 Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote 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 Offline
                A Offline
                alasdair17
                wrote 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 Offline
                  F Offline
                  fernandol97
                  wrote 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 Offline
                    A Offline
                    alasdair17
                    wrote last edited by
                    #15

                    @fernandol97 nice one!

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

                      thanks for the help guys!!

                      A 1 Reply Last reply
                      1
                      • F fernandol97

                        thanks for the help guys!!

                        A Offline
                        A Offline
                        alasdair17
                        wrote 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
                        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