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

Changing margin on specific text in text blocks



Site URL: https://www.birdmafia.com/stockists

Been working on updating the info on this page, and now I need to fix the layout as it looks terrible...

All, I’m having a hard time figuring out how to change this page (https://www.birdmafia.com/stockists) so that there is no margin between the store name (text link) and the city name below it. Inspecting through google it looks like there is top and bottom margin on the <p> tags which I wouldn’t need (except for the bold state names, but I could just leave another empty line there.)

Anybody interested in helping me understand what custom code to put on page?

Would it just be:

p { margin: 0em }

Or is there something better so it wouldn’t effect the bold titles?


I posted this question to the squarespace reddit.... the only response I've received is to change margin you need to use the text-block id.  Is that the only way? I do have a Chrome extension to get the id's of the blocks if that's all I can do, but I'd need to make each entry on this webpage it's own text block to accomplish what I'm looking for.  I'm hoping I can add code just for the Non-Bold and Non-links text of this page.

Link to comment

2 answers to this question

Recommended Posts

  • 1

I think you can do this without CSS. I assume you are looking to go from...






Simply use shift return or enter instead of return/enter when you want to go to the next line in the text editor.

Please see Fixing text formatting - Fix line spacing.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment

Create an account or sign in to comment

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

  • Create New...