Jump to content

Reduce padding between sections - CSS not working

Recommended Posts

  • 1 year later...
On 1/22/2024 at 7:35 PM, nataliaamelia said:

Hi, 

I hope I am in the right thread

I have a project page and the padding is huge

Is there any code to reduce it?  

Many thanks

Natalia

image.thumb.png.24e929e6359c3b44ea350eb82d603678.png

Can you share link to this page? We can check easier

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 1/25/2024 at 4:57 PM, nataliaamelia said:

Here you go
https://www.nataliaameliasaied.com/backstage

or do you need password? 

Try adding this code to Website > Website Tools (under Not Linked) > Custom CSS

.fe-65a9952cee46d26cc21708b5 {
    --row-height-scaling-factor: 0 !important;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Hi Tuan, thanks for the code, although I think it didn't work. 

Any other tip/code that you think might change the "project" section 

thanks!

23 hours ago, tuanphan said:

Try adding this code to Website > Website Tools (under Not Linked) > Custom CSS

.fe-65a9952cee46d26cc21708b5 {
    --row-height-scaling-factor: 0 !important;
}

 

 

Link to comment
On 1/29/2024 at 4:50 PM, nataliaamelia said:

Hi Tuan, thanks for the code, although I think it didn't work. 

Any other tip/code that you think might change the "project" section 

thanks!

 

Try this new code

.fe-65a9952cee46d26cc21708b5 {
    --row-height-scaling-factor: 0 !important;
}
[data-section-id="659d8d3d3175681673a63aa5"] {
    min-height: 30vh !important;
    height: 50vh;
}
.portfolio-hover-display {
    min-height: unset !important;
    height: 100% !important;
}
[data-section-id="659d8d3d3175681673a63aa5"] .content-wrapper {
    height: 100% !important;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Hi again,

As far as I can see, It didn't work:(

I am considering changing the design and removing the project block. 

Or do you have another option for me? 

many thanks 

Natalia

 

On 2/1/2024 at 4:25 AM, tuanphan said:

Try this new code

.fe-65a9952cee46d26cc21708b5 {
    --row-height-scaling-factor: 0 !important;
}
[data-section-id="659d8d3d3175681673a63aa5"] {
    min-height: 30vh !important;
    height: 50vh;
}
.portfolio-hover-display {
    min-height: unset !important;
    height: 100% !important;
}
[data-section-id="659d8d3d3175681673a63aa5"] .content-wrapper {
    height: 100% !important;
}

 

 

Link to comment
On 2/4/2024 at 3:23 AM, nataliaamelia said:

Hi again,

As far as I can see, It didn't work:(

I am considering changing the design and removing the project block. 

Or do you have another option for me? 

many thanks 

Natalia

 

 

Can you add & keep the code? I can check again easier

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Hi, 

I have added this two

the one you sent 

.fe-65a9952cee46d26cc21708b5 {
    --row-height-scaling-factor: 0 !important;
}
[data-section-id="659d8d3d3175681673a63aa5"] {
    min-height: 30vh !important;
    height: 50vh;
}
.portfolio-hover-display {
    min-height: unset !important;
    height: 100% !important;
}
[data-section-id="659d8d3d3175681673a63aa5"] .content-wrapper {
    height: 100% !important;
}

and the one nick_sh sent too

section[data-section-id='65a9952c3f35d7472ba5143e'] {
   margin-bottom: -20vh;
}

https://www.nataliaameliasaied.com/backstage

I hope I understood you correctly

Thanks, 

 

Link to comment
On 2/11/2024 at 8:29 PM, nataliaamelia said:

tnx @tuanphan !!


Now that the names are well aligned under the text box above, I have a last question - is there any way to give a bit more space under the projects?
https://www.nataliaameliasaied.com/backstage

Increase this space?

image.thumb.png.82844f878b9cabdf2e2d499c7318eb9a.png

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.