Okay
  Public Ticket #1329763
Margin auto CSS is not applying to button
Closed

Comments

  •  2
    nvyasir started the conversation

    In the related URL I have added a button and mentioned css of margin to auto to align to center. But the CSS is not applying perfectly. I have noted that my css has opening and ending {}.


    My custom CSS is

    .buttoncenter{
        margin: auto;
    }

    I mentioned "buttoncenter" in extra class name of button element. 

  •  1,559
    Laborator replied

    Hi nvyasir,

    Can you please consider reading the article we wrote about How to add Custom CSS to your site, then paste the code below in Custom CSS section.

    .buttoncenter{
        margin-left: auto !important;
        margin-right: auto !important;
        display: table !important;
    }

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  2
    nvyasir replied

    Thank you. 

    I will read it. Sorry for the inconvenient question.