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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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.