Jump to content

How to control only top padding in Wells template

Recommended Posts

Posted

Hello,

I would like to control the amount of white space in the top of my site. The Wells template only lets me control the right side and top padding at the same time. Is there a way i can control the top padding only?

Link to my site: guana-avocado-le77.squarespace.com

Also:

I would like to know how to change the font size og the site title, also here Wells seems to have a fixed maximum size.

I would also like to change the font color for only the drop down menus in the sidebar, is there a code for this?

Thanks!!

  • Replies 7
  • Views 1.5k
  • Created
  • Last Reply
Posted

@panuela Add to Home > Design > Custom CSS


/* Padding top header */
div#canvas {
   padding-top: 0;
}
body.sidebar-position-left #headerWrapper {
   top: 0 !important;
}
/* Site Title */
h1.logo.site-title a {
    font-size: 20px;
}
/* Dropdown menu item color */
.subnav ul li a {
    color: red !important;
}

Reference: https://beaverhero.com/wells-squarespace/

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!)

Posted

also, there often comes half a background in grey behind the arrow then i hover over them. I would like them to have no background at all..

Thanks :)

Posted

Thank you so much @tuanphan ! This worked perfectly.

I now have a problem with the arrow navigation signs in my gallery slide show blocks. I managed to find CSS coding for having them next to the photo instead of on top and to remove their background colour. But the left side arrow keeps being placed on top of the photo every time i leave the CSS page. Is there a way i can fix this? Also, there often comes half a background in grey behind the arrow then i hover over them. I would like them to have no background at all..

Direct url for example of the gallery slideshow: https://iguana-avocado-le77.squarespace.com/koncerthus-i-stavanger-norge

My current CSS code:

/Move next/prev. arros to right/left of image in galleries./ .sqs-gallery-controls .previous { right: 100%; left: inherit; }

.sqs-gallery-controls .next { right: inherit; left: 100%; }

.sqs-gallery-block-slideshow .sqs-gallery-controls .next, .sqs-gallery-block-slideshow .sqs-gallery-controls .previous { background: none; /removes the original background behind the arrows/

} .sqs-gallery-block-slideshow .sqs-gallery-controls .next::before, .sqs-gallery-block-slideshow .sqs-gallery-controls .previous::before { background: none; color: black; font-size: 1.5em; /this changes the size of the arrows/ }

Posted

Thank you so much @tuanphan ! This worked perfectly.

I now have a problem with the arrow navigation signs in my gallery slide show blocks. I managed to find CSS coding for having them next to the photo instead of on top and to remove their background colour. But the left side arrow keeps being placed on top of the photo every time i leave the CSS page. Is there a way i can fix this?

Direct url for example of the gallery slideshow: https://iguana-avocado-le77.squarespace.com/koncerthus-i-stavanger-norge

My current CSS code:

/Move next/prev. arros to right/left of image in galleries./ .sqs-gallery-controls .previous { right: 100%; left: inherit; }

.sqs-gallery-controls .next { right: inherit; left: 100%; }

.sqs-gallery-block-slideshow .sqs-gallery-controls .next,.sqs-gallery-block-slideshow .sqs-gallery-controls .previous { background: none; /removes the original background behind the arrows/

}.sqs-gallery-block-slideshow .sqs-gallery-controls .next::before,.sqs-gallery-block-slideshow .sqs-gallery-controls .previous::before { background: none; color: black; font-size: 1.5em; /this changes the size of the arrows/}

Archived

This topic is now archived and is closed to further replies.

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