Jump to content

Image Poster Block Button Styling

Recommended Posts

  • Replies 3
  • Views 571
  • Created
  • Last Reply
Posted
25 minutes ago, thejschweigert said:

Site URL: https://www.joshuaschweigert.com/

Hello,

I'm trying to get help with the image post block on my website.

I'd like to have the following styling;

Black Background + White Text 

to

White Background + Black Text (Hover)

Thanks!

Regards,

Joshua Schweigert

Screen Shot 2021-11-26 at 4.09.35 PM.png

Is it the result you want to achieve?

 Try adding to Home > Design > Custom Css
section[data-section-id="61a13090d190f713bc5672aa"] {
	.design-layout-poster {
		.image-button {
			a {
				background: #000 !important;
				color: #fff !important;
			}
			&:hover {
				a {
					background: transparent !important;
					color: #000 !important;
				}
			}
		}
	}
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

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.