This topic has 5 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #67552
     teamwepv
    Participant

    Hi:
    Non-urgent question. I’ve created a “special” button in my main menu navbar using the following quick css:
    .navbar-nav .btn.btn-special {
    line-height: 25px !important;
    background: transparent;
    border: 1px solid #fff !important;
    }
    This creates a button that changes thickness of the border upon hover (a highlight type effect). I would like a solid 1px border that does not change thickness/highlight upon hover and is, in essence, a clean little oval around the text. Is that possible?

    Thank you in advance.

    Attachments:
    You must be logged in to view attached files.
    #67562
     sharmstr
    Moderator

    hard to help without seeing it, but I’m guessing you need to define what happens on hover

    COPY CODE
    
    .navbar-nav .btn.btn-special:hover {
    border: 1px solid #fff !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #67565
     teamwepv
    Participant
    This reply has been set as private.
    #67568
     sharmstr
    Moderator

    .kleo-main-header .nav > li > a {
    box-shadow: inset 0px 2px 0px 0px transparent;
    }

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #67570
     teamwepv
    Participant

    Sharmstr = worth every $.
    Resolved. Thank you.

    #67573
     sharmstr
    Moderator

    awesome

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?