Jump to content

how to override squarespace default margin

Recommended Posts

Site URL: https://www.foilrar.org/newsletters_new

hello

On my webpage - https://www.foilrar.org/newsletters_new - which is completely created using  

code block, many elements have default margin and/or padding space. I believe it is the squarespace

default. Is not there a way to override these default margins/padding ? I have attached example H1 

element and the margin around it pointed by arrow with the browser inspect mode.

Any help/guidance is highly appreciated.

 

Thanks,

Nitin Kanaskar

 

margin.jpg

Link to comment

Hello,

You can override the default text padding/margin settings by applying some adjustments in the Custom CSS tab. In your case, you can apply the same padding and margin settings by targeting all basic text elements. This should remove most of the "space" between your elements.

h1, h2, h3, h4, p {
margin: 0;
padding: 0;
}

Hope this helps!

Link to comment
On 4/29/2021 at 4:06 AM, foilrar said:

Worked like charm.

Thanks so much for your prompt response!

Nitin Kanaskar

I see the site has some problems. Do you want to fix these?

Site URL – https://www.foilrar.org/

1. (Mobile-Homepage) the site doesn’t look good.

foilrar.org-01-min.png

2. (Mobile-Homepage) Text very long. Want to change to 1 item/row?

foilrar.org-02-min.png

3. (Tablet-Footer) Reduce text size?

foilrar.org-03-min.png

4. (Mobile-Blog posts) Want to add Prev/Next text next to arrows?

foilrar.org-04-min.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 weeks later...

I am sorry Tuanphan. I just saw your suggestions. I am a volunteer working on community website.

I would like to go through your suggestions. Are you suggesting to add < and > buttons to reduce text on this page. By clicking < and > , user can view previous or next page. 

 

Thanks ,

Nitin Kanaskar

 

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...

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.