Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #658710

    Hi

    Hoping you can help me change the height of two different types of buttons on my website.

    The first is on the home page. they are avia buttons.

    The second is on the contact page, they are buttons I created using a form plugin.

    I’d like there to be the same amount of space both above and below the text on the buttons, and I think the best way to do this is to change the button height?

    I’ll add my login details below.

    Thanks
    Fleur

    #659192

    Can you help please?

    #659319

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .home .avia-button {
        margin-top: -5px;
    }
    

    If that does not help, please post a screenshot and show the changes you would like to make. You can upload your screenshots on imgur.com or Dropbox public folder and post the links here.

    Best regards,
    Yigit

    #660624

    Hi, this didn’t seem to do the trick.

    I’ve added a link to some screen shots in the private content below.

    I have some custom CSS in place at the moment to try and get the buttons to look identical but it’s not quite right.

    Avia buttons

    body div .avia-button {
    border-radius: 1px;
    }

    body .avia-button.avia-color-theme-color {
    font-family: Frontage-Bold;
    font-weight: normal;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0px !important;
    border-bottom: 0px !important;
    }

    body .avia-button.avia-color-theme-color:hover {
    color: white;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    background-color: #919191;
    }

    Contact form button

    .main_color input[type=’submit’] {
    font-family: Frontage-Bold;
    font-weight: normal;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0px !important;
    border-bottom: 0px !important;
    }

    .main_color input[type=’submit’]:hover {
    color: white !important;
    text-shadow: 0 1px 0 rgba (255, 255, 255, 0.1);
    background-color: #919191;
    }

    #661702

    Hey!

    Thank you for the info. You can adjust the padding of the contact form button to be the same as the home page buttons.

    input.wpcf7-form-control.wpcf7-submit {
        padding: 15px 30px 13px;
    }

    Best regards,
    Ismael

    #661905

    Thanks – that gives me the control I was after for the contact form button!

    Could you please let me know how I can also change the padding on the home page buttons?

    I’ve tried editing this CSS and adding in the padding I want, but it hasn’t worked.

    .main_color input[type=’submit’] {
    font-family: Frontage-Bold;
    font-weight: normal;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0px !important;
    border-bottom: 0px !important;
    }

    .main_color input[type=’submit’]:hover {
    color: white !important;
    text-shadow: 0 1px 0 rgba (255, 255, 255, 0.1);
    background-color: #919191;
    }

    #661969

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .home .avia-button.avia-color-theme-color {
        padding-bottom: 20px;
    }

    Best regards,
    Vinay

    #662351

    Perfect, thank you!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Change button height’ is closed to new replies.