Skip to main content

Termly Button Text not centered.

Comments

4 comments

  • K C George

    Hi Aaron,

    I see that you have added the below CSS code to the Embed element. Kindly add the text-align: center; to the CSS to centre align the button text. 

     
    element.style {
        background: rgb(21, 43, 94);
        text-align: center;
        border-color: rgb(21, 43, 94);
        color: rgb(255, 255, 255);
        font-size: 12px;
        font-family: Roboto, "Open Sans", Arial, Helvetica;
        font-weight: bold;
    }
    0
  • Aaron Shields

    Where should I be adding/editing that? I didn't add any CSS myself. I just checked options in the Termly dashboard (see attached). (Also I selected font-size 10 which doesn't seem to be carrying through.)

    0
  • K C George

    Hi Aaron,

    In your WordPress Dashboard under Appearance - Customize, kindly paste the following CSS and check if the Termly button aligns to the center.  

    /* Center align Termly buttons*/
    button.termly-styles-module-solid-20a66a.termly-styles-module-primary-9738f2 {
        text-align: center;
    }

    0
  • Aaron Shields

    Thanks! That worked.

    0

Please sign in to leave a comment.