Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

How to add coloured border to these specific text blocks


KickinGa
Go to solution Solved by bangank36,

Question

Site URL: https://www.bondprosper.com/about

Hi,

I'd like to add a colourd border to the text blocks in the 'Our Values' section of my 'About' page so that it doesn't like compacted on the mobile version, as shown in the images attached.  

I already have this custom CSS for these blocks in place working:

#block-7bc3fc546b1452973de2
{border-radius:20px; background: #169b62;}

#block-cfd3c20089fa0c214fb9
{border-radius:20px; background: #169b62;}

#block-yui_3_17_2_1_1608288538793_32278
{border-radius:20px;  background: #169b62;}

#block-998a9260598b2eccef66
{border-radius:20px; background: #169b62;}

#block-yui_3_17_2_1_1608288538793_30268
{border-radius:20px; background: #169b62;}

#block-yui_3_17_2_1_1608288538793_33403
{border-radius:20px; background: #169b62;}

 

and I tried to add in border-colour: black; border-width:10px;

but it doesn't make any difference.  

Any ideas please?

image.png

image.png

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

You may want to try this border: 10px solid black; padding: 5px; /*To add more space vertically*/

Site URL: https://www.bondprosper.com/about Hi, I'd like to add a colourd border to the text blocks in the 'Our Values' section of my 'About' page so that it doesn't like compacted on the mobil

That's great, thank you.  I actually wanted to do it the same colour as the background to create space between the boxes on mobile and it's worked, thank you.  Didn't need the padding.  

Posted Images

2 answers to this question

Recommended Posts

  • 0
4 hours ago, KickinGa said:

Site URL: https://www.bondprosper.com/about

Hi,

I'd like to add a colourd border to the text blocks in the 'Our Values' section of my 'About' page so that it doesn't like compacted on the mobile version, as shown in the images attached.  

I already have this custom CSS for these blocks in place working:

#block-7bc3fc546b1452973de2
{border-radius:20px; background: #169b62;}

#block-cfd3c20089fa0c214fb9
{border-radius:20px; background: #169b62;}

#block-yui_3_17_2_1_1608288538793_32278
{border-radius:20px;  background: #169b62;}

#block-998a9260598b2eccef66
{border-radius:20px; background: #169b62;}

#block-yui_3_17_2_1_1608288538793_30268
{border-radius:20px; background: #169b62;}

#block-yui_3_17_2_1_1608288538793_33403
{border-radius:20px; background: #169b62;}

 

and I tried to add in border-colour: black; border-width:10px;

but it doesn't make any difference.  

Any ideas please?

image.png

image.png

You may want to try this

border: 10px solid black;
padding: 5px; /*To add more space vertically*/

image.png.19e43abdcf478651af754fed7c7e1951.png

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, 360 Degree Photo block, Seperator Block (SVG Shape divider for sections)
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post
  • 0
2 hours ago, bangank36 said:

You may want to try this


border: 10px solid black;
padding: 5px; /*To add more space vertically*/

image.png.19e43abdcf478651af754fed7c7e1951.png

That's great, thank you.  I actually wanted to do it the same colour as the background to create space between the boxes on mobile and it's worked, thank you.  Didn't need the padding.  

image.png.10212f75299fc6c388ffa346475ea86c.png

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...