Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1178278
    Transfac
    Participant

    I have a link in my topbar that has been stylized to appear as if it were a button (at first I placed an actual button, but that created some issues with the navbar). When I hover above the link, the text moves a bit to the left. Any tips on how I can resolve this? I tried to use position:absolute, but that does more harm than good. The link is: dev.transfac.com

    #1178592
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Please replace your code with this one:

    .btnTest {
        background: #00573d;
        padding: 5px 25px;
        border-radius: 25px;
        display: inline-block;
        border: 2px solid transparent;
    }

    Cheers!

    #1178594
    Transfac
    Participant

    That worked like a charm! Thank you.

    #1178784
    Jade
    Moderator

    You’re most welcome.

  • <script> jQuery(function($){ $("#no-reply-1178278 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>