Title: rounded corners css code?
Last modified: December 5, 2022

---

# rounded corners css code?

 *  Resolved [martin177](https://wordpress.org/support/users/martin177/)
 * (@martin177)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/rounded-corners-css-code/)
 * Hi there!
 * I am new to Blocksy and I would like to add a border radius of 20px to every 
   page of this website, like as a standard. Is there a css code that I could add
   to the css section in the customizer?
 * Thank you very much in advance,
    Martin
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frounded-corners-css-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/rounded-corners-css-code/#post-16262113)
 * Hi [@martin177](https://wordpress.org/support/users/martin177/)
 * Sorry, but what you’re trying to achieve is simply not possible using CSS directly.
   The HTML generated by the website simply does not permit this.
 * This might be achievable by modifying a lot of the CSS present, including injecting
   new CSS into the site. This page — [https://itnext.io/how-to-make-a-fancy-inverted-border-radius-in-css-5db048a53f95](https://itnext.io/how-to-make-a-fancy-inverted-border-radius-in-css-5db048a53f95)—
   has more information on how you might want to go about doing things.
 * Hope this clears things up and points you in the right direction!
 * Thanks.
 *  Thread Starter [martin177](https://wordpress.org/support/users/martin177/)
 * (@martin177)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/rounded-corners-css-code/#post-16262286)
 * Hi Eduard (@cteduard)
 * Thank you for your reply! Could I just clarify what you meant: is it impossible
   to achieve this: [https://imgur.com/NJd97qL](https://imgur.com/NJd97qL) in Blocksy?
   And I would basically have to change half the actual Blocksy code to achieve 
   it? 😉 Because in Oceanwp you can just add 3 lines of code and Bob’s your uncle
   🙂
 * Thank you for your patience!
    Martin
 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/rounded-corners-css-code/#post-16262434)
 * Hello [@martin177](https://wordpress.org/support/users/martin177/)
 * I never said that you have to change half of the code to achieve this. It’s just
   it requires a lot more CSS than a few lines, due how things are stacked inside
   the HTML/CSS.
 * The guide I’ve sent you should teach you how to use the :before and :after modifiers
   to achieve this look. 🙂
 * Thanks.
 *  Thread Starter [martin177](https://wordpress.org/support/users/martin177/)
 * (@martin177)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/rounded-corners-css-code/#post-16262547)
 * I was just exaggerating a little, because I didn’t really understand. Ok, so 
   it’s probably best, I’ll leave it as it is and hire someone to adjust things 
   once I’ve made some money.
 * Thank you anyways!!
    Have a good day, Martin
 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/rounded-corners-css-code/#post-16263807)
 * Hi [@martin177](https://wordpress.org/support/users/martin177/)
 * Yup, in the end this is possible, but you have to put in a bit of work to get
   this just right. It’s a limitation from how the site border has been designed
   and how HTML/CSS works like.
 * Hope this clears things up!
 * Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘rounded corners css code?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blocksy/2.1.45/screenshot.jpg)
 * Blocksy
 * [Support Threads](https://wordpress.org/support/theme/blocksy/)
 * [Active Topics](https://wordpress.org/support/theme/blocksy/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blocksy/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blocksy/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Eduard](https://wordpress.org/support/users/cteduard/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/rounded-corners-css-code/#post-16263807)
 * Status: resolved