Comments Linda Campbell started the conversationDecember 6, 2017 at 4:42amHi,For some reason the type isn't centered vertically in the button I've created. I figured out how to fix it with css:.nectar-button span { vertical-align: text-bottom;}but the hover state is still out of alignment and I can't figure out how to fix it. Can you please tell me the correct css or perhaps there is another way for me to fix this.Thanks,Linda 9,016Tahir repliedDecember 6, 2017 at 10:50amHey Again,Remove that css and adjust the padding instead .Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) : .nectar-button.see-through-extra-color-gradient-1.large, .nectar-button.see-through-extra-color-gradient-2.large, .nectar-button.extra-color-gradient-1.large, .nectar-button.extra-color-gradient-2.large { padding: 12px 22px 8px !important; } Thanks ThemeNectar Support Team Sign in to reply ...
Hi,
For some reason the type isn't centered vertically in the button I've created. I figured out how to fix it with css:
.nectar-button span {
vertical-align: text-bottom;
}
but the hover state is still out of alignment and I can't figure out how to fix it. Can you please tell me the correct css or perhaps there is another way for me to fix this.
Thanks,
Linda
Hey Again,
Remove that css and adjust the padding instead .
Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
Thanks
ThemeNectar Support Team