Okay
  Public Ticket #1393530
center type within button
Closed

Comments

  • Linda Campbell started the conversation

    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

  •  9,016
    Tahir replied

    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) :

    .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