Jump to content

Image Poster Block Button Styling

Recommended Posts

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)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.