Site logo

Archived topic

Excluding GB button links from styling

3 replies · Started by Baz on April 19, 2021

Viewing posts 1–4 of 4

Hi, just need some help targeting the GB button block.

I have styled all links (excluding buttons) with:

.entry-content a:not(.button) {
	font-weight: 500;
	font-style: italic;
	border-bottom: 1px solid #444444;
}

This works fine for excluding the standard GP buttons, but I can't seem to find the selector for GB buttons.

Thanks

Hi there,

try this selector:

.entry-content a:not(.button):not(.gb-button)

Worked perfectly!

Thank you David :)

you're welcome

This archived topic is closed to new replies.