Okay
  Public Ticket #1740921
button width
Closed

Comments

  •  1
    Dawn started the conversation

    This is a practice page and I am trying to get the buttons the same width. I tried to follow instructions listed on the forum about putting in the css code but that isn't working. Please help. 

    https://www.xiologix.com/home-blog/

  •  8,998
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    .nectar-buttonfixed-size .nectar-button {
        min-width: 250px;
    }

    Thanks


    ThemeNectar Support Team 

  •  1
    Dawn replied

    Thank you. When I add the buttons it looks like if there is two rows of text it is messing up the alignment. I tried to fix it with the attached css. please advise on what I am doing wrong.   https://www.xiologix.com/home-blog/

  •  8,998
    Tahir replied

    Hey Again,

    Remove these extra characters http://prntscr.com/l4ep6q . Also there is a missing ending curly brace. 

    Best 



    ThemeNectar Support Team 

  •  1
    Dawn replied

    I did that but the buttons remain the same. 

  •  8,998
    Tahir replied

    Seems to be working alright : http://prntscr.com/l4k00d ? .


    ThemeNectar Support Team 

  •  1
    Dawn replied

    The buttons are not aligned. For some reason the buttons when there is two lines of text are higher than the buttons with one line of text. I was trying to fix that by centering all text on all buttons. do you have any ideas on how to fix this? 

  •  8,998
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    @media only screen and (max-width: 1024px) and (min-width: 691px) {
        .nectar-buttonfixed-size .nectar-button {
            height: 60px;
            vertical-align: text-top !important;
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  1
    Dawn replied

    I got the red box. please see attached. 

  •  8,998
    Tahir replied

    Try adding a ending curly brace before the custom css box here : http://prntscr.com/l4yug7 . 

    Best


    ThemeNectar Support Team