Jump to content

Code blocks are resizing my live site

Recommended Posts

Posted
29 minutes ago, benstevens05 said:

Hi, I'm using code blocks to create a custom button but the elements change size on my live site (sizing is normal within Fluid Engine). In this example, 'Top Independent Schools' is a code block and on the live site the 'How it works' button next to it becomes much larger.

https://www.oppidaneducation.com/families/11-plus-journey

Squarespace2.thumb.jpg.5e9f83a88e9bee745b3db3b280fd963a.jpgSquarespace1.thumb.jpg.6517b4cb5e7565b467c77c482eda05ab.jpg

 

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

.fe-block-96ab55668debe61e628c h4 {
  margin: 0 !important;
}

 

Screenshot_267.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted
Just now, benstevens05 said:

Hi @Web_Solutions, thanks for getting back to me. However it's happening around the site with blocks resizing on the live site so I'm looking for a site wide solution?

Thanks

Did you add the code?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted
4 minutes ago, benstevens05 said:

Yes I did. It worked for that particular issue thanks but not around the rest of the site.

 

For button resizing, if you put the button design Fit then it will not resize. 

Screenshot_271.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.