Jump to content

Padding Not Working On Text Boxes

Go to solution Solved by Lesum,

Recommended Posts

Hello,

I am working on a "news" page for my website, but the text is too close to the edges of the text boxes. I want to increase the padding on the left and right sides so that the text isnt so close to the edges, but when I try it doesn't work. I only want the padding to apply to the text boxes, not the images or anything else. Ive included an image example of what im talking about below. can anyone help? For the record, i've already tried #id {padding-left: 20px; padding-right: 20px;} but it doesn't work. The left side of the text moves over, but so does the right side and it doesn't shift back.  even when I just do #id {padding-right: 20px} the right padding doesn't change.

Screenshot 2024-06-29 150902.png

Link to comment
  • Replies 5
  • Views 265
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

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


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.