Archived

This topic is now archived and is closed to further replies.

  • 0

Best method for customizing buttons

Question

Posted · Report post

Delete

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Delete

Share this post


Link to post
Share on other sites

Posted · Report post

OK, so I'm trying to customize the buttons via LESS.  Editing the colors is pretty simple.  How would I make all the buttons in the sidebar the same width?

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Chris 

 

Yes its me, same James as in live chat :-)

 

You can add a width to the LESS code for your custom button, for example for the linkedin button example on that page, you'd just add the width code like below.

 

    .btn-linkedin {
    color: @white;
    width:500px;
    .buttonBackground(lighten(#007bb6, 10%),#007bb6);
    text-shadow: 0 -1px 0 rgba(0,0,0,.25);
    &:hover {
    text-shadow: 0 -1px 0 rgba(0,0,0,.25);
    color: @white;
    }
    &:active {
    text-shadow: 0 -1px 0 rgba(0,0,0,.25);
    }
    }

Share this post


Link to post
Share on other sites

Posted · Report post

Hello Prodentite - do you have a link to your site please? 

Share this post


Link to post
Share on other sites