Skip to content

Instantly share code, notes, and snippets.

@pjeaje
Forked from zephyrmike/gp-gb-buttons
Created January 19, 2024 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjeaje/1735470947133331b771daeb7b901d9c to your computer and use it in GitHub Desktop.
Save pjeaje/1735470947133331b771daeb7b901d9c to your computer and use it in GitHub Desktop.
Button classes for GeneratePress and GenerateBlocks
/* Use the classes below to style all the GeneratePress and GenerateBlocks buttons */
/* GeneratePress button */
.button,
.button:visited,
.button:focus {
/* add styles here */
}
/* GeneratePress button hover */
.button:hover,
.button:active {
/* add styles here */
}
/*************************************************/
/* GenerateBlocks button */
.gb-button-wrapper .gb-button,
.gb-button-wrapper .gb-button:visited,
.gb-button-wrapper .gb-button:focus {
/* add styles here */
}
/* GenerateBlocks button hover */
.gb-button-wrapper .gb-button:hover,
.gb-button-wrapper .gb-button:active {
/* add styles here */
}
/*************************************************/
/* GeneratePress read more button */
.read-more.button,
.read-more.button:visited,
.read-more.button:focus {
/* add styles here */
}
/* GeneratePress read more button hover */
.read-more.button:hover,
.read-more.button:active {
/* add styles here */
}
/*************************************************/
/* GeneratePress post comment button */
form#commentform p.form-submit input#submit,
form#commentform p.form-submit input#submit:visited,
form#commentform p.form-submit input#submit:focus {
/* add styles here */
}
/* GeneratePress post comment button hover */
form#commentform p.form-submit input#submit:hover,
form#commentform p.form-submit input#submit:active {
/* add styles here */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment