Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #727916

    Hi ,

    In our extra header (widget) we have “chat”and “contact us” , we have made them as buttons. They have medium size, while the other buttons are small sized buttons…

    What CSS can we use to align the chat/contact us to the richt in the widget area ?

    Thanks in advance
    mike

    #727922

    Hi!

    You have following code in your custom CSS

    #header .textwidget .flex_column {
        float: right;
        right: 16.6%;
    }

    Please decrease right value

    Best regards,
    Yigit

    #727923

    yes, but I assume then all buttons will align to the left and I only want the two buttons Chat en Contact us to align left

    #727966

    Hi!

    I changed custom CSS code to following one

    #header .textwidget .flex_column {
    width: 100%; 
    padding-left: 30px;
    }
    .custom-align {
        float: left;
    }

    and wrapped Chat and Contact buttons inside a div with custom class. Please review your website now

    Best regards,
    Yigit

    #727978

    Hi

    Getting there … But they are aligned far right and left …

    Can they be adjusted to the image below :

    View post on imgur.com

    #728245

    Hi,

    I see that the div has some inline CSS, can u please edit the padding there?
    That will fix the issue, if you position it properly.

    Best regards,
    Basilis

    #728441

    Hi,

    If I change this padding value, nothing changes :(

    #header .textwidget .flex_column {
    width: 83.3%;
    padding-left: 330px;
    }
    .custom-align {
    float: left;
    }

    #728451

    Hi,

    I have changed this code in Quick CSS:

    #header .textwidget .flex_column {
    width: 83.3%; 
    padding-left: 330px;
    }

    to:

    #header .textwidget .flex_column {
        width: 100%; 
        padding-left: 30px;
    }

    It should look better now. Let us know if you need anything else related to this topic. :)

    Best regards,
    Nikko

    #728454

    I have changed the width percentage, so it is aligned to the right. But changing the padding to the left does not do anything…

    The chat/contact buttons should be outlined as in picture : http://imgur.com/a/uBgCJ

    thanks in advance

    #728471

    Hi,

    The padding-left is being overridden with some style, instead of writing the code like this:

    padding-left: 330px;

    Try adding !important, so it wouldn’t be overriden by some style and it should look like this:

    padding-left: 330px !important;

    You might need to adjust the left padding to make it look better, hope this helps :)

    Best regards,
    Nikko

    #728473

    Worked great !

    thanks a lot…

    Have a greeat new year !

    #728479

    Hi,

    You are welcome! Let us know if you have any other questions or issues :)

    Best regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘align buttons to the left’ is closed to new replies.