Home>Support>rounded corners

rounded corners

By djgb58, 8 years ago. Last reply by djgb58, 8 years ago.

Hello Andrew,
On the site I’m working on I have a call to action box with rounded corners that I think look good so I would like to make the six info boxes also rounded but unsure of the correct code.
The row class is border-radius with 20px border and below is the code you made me up to start with for the boxes which I modified regards colour,
so can you help me again please the site it’s on is: http://www.ebringtonlodge1847.org.uk/
David

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Djgb58,

    Please open one of the info boxes and head over to the row styles sidebar. Open the attributes settings group and add rounded-corners into the widget class field. Then please repeat this process until you’ve done all of the infoboxes.

    Then please navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Add the following code.

    .rounded-corners {
    	border: 2px solid #cccccc;
    	border-radius: 20px;
    }
    

    You might also need to install the SiteOrigin CSS Editor.

    You may need to also make minor widget style adjustments to get the exact styling your after.
    You’re able to use this method on any widget now the way. :) Please note that the CSS step is a one time event – you do not need to repeat that everytime you add this.

  2. 8 years, 4 months ago djgb58

    Thank you Alex s,
    Did try it out and got the curve boxes but I had a gap at the sides and bottom of the box which I couldn’t sort out and as the background is grey and the gap white I didn’t want to leave it like it so when I have more time I will take another look at it.

    Best Regards
    David

  3. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Djgb58,

    Ah, that’s odd. I didn’t get that issue during initial testing. Take your time, I’ll be more than willing to pick this back up whenever you’re able. With that said, when you’re ready, I would recommend making a copy of your page so that I’m able to work on this issue without it affecting your normal page. You can do that by creating a new page, enable page builder, click prebuilt layout in the toolbar and then clone your homepage. Then simply send me the link to that page with the previously outlined instructions and I’ll get to work on resolving this issue. If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

  4. 8 years, 4 months ago djgb58

    Hello Alex S,
    Here is the link http://www.ebringtonlodge1847.org.uk/home2/ plus the bit you sent me about how to do it and as you will see I have only made the Charity box rounded at the moment and removed the border from the scroll box.
    Regards
    Dave

  5. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Preface: The CSS featured in this reply is for rounded bottom corners only.

    Hi Djgb58,

    Ah, gotcha. Please navigate to WP AdminAppearanceCustom CSS and replace the previously provided CSS with the following CSS.

    .rounded-corners {
        border: 2px solid #ccc;
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
    }
    

    How’s that?

  6. 8 years, 4 months ago djgb58

    Hello Alex S,
    Brilliant work and thank you for that, but just one little issue is that there seems to be a margin of about 26px at the bottom of the boxes I cannot get rid of.
    Is it possible to remove it or is there a way of making it the same grey colour as the main area of the boxes which is #f4f4f4.

    Regards
    Dave

  7. 8 years, 4 months ago djgb58

    Its ok Alex S found how to make all the box grey but thanks again for your help Top Man.

    Best Regards
    Dave

  8. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Djgb58,

    Glad you managed to work it out. Is there anything else I can help you with today?

  9. 8 years, 4 months ago djgb58

    Hello Alex S,
    No nothing else thanks and again thank you so much for your help.

    Best Regards
    Dave

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More