Archived topic
New Standard btn "design"
3 replies · Started by Eaydman on September 2, 2021
Hi,
As standard when I add a button, its shown up as a blue button.
But my primary button hav the color green and has border-radius.
Is there a way to give the button the green color and border-radius as standard with a function/filter ?
Hi there,
you can set the Color of the default button in Customizer > Colors > Buttons.
To add a border radius you would add this CSS:
a.button {
border-radius: 4px;
}
Ahh sorry i use the GenerateBlocks Buttons.
Is it not possible to change the default colors there ?
For sure, see Toms reply here which will take the GP Theme Button color and load that as the GB Default Color:
https://generatepress.com/forums/topic/add-custom-css-selector-to-the-button-selector/#post-1322768
And further down that thread, Leo provides a link to the github providing the border-radius options.