Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Hover styling for second nav button in Bedford template


TessaV

Question

Site URL: https://chicagotoollibrary.org

Our website uses the Bedford template and I'd like to add a second button to our navigation bar that has the same styling and hover effects as our existing button, but with a different color. I've been able to hack some code to get another  button, but can't manage to get the transparent button that fills when you hover. Help?

Link to post
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

4 answers to this question

Recommended Posts

  • 0

We have a donate button but I want to also add a "member login" button for our library members to be able to easily log in to their library accounts. I want the donate and login buttons to be next to each other in the navigation and equally visible with the same styling

Edited by TessaV
Link to post
  • 0

I managed to get a second button for Member Login to appear in blue. I can't get the text to appear blue or get the blue background + black text hover action that the Donate button has.

 

Here is what I have so far: 

 

#mainNavigation [href*="https://app.chicagotoollibrary.org/users/sign_in"] {
    background-color: transparent;
    text-color: #3582a3;
  text-decoration: none;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 5px;
    border: 2px solid #3582a3;
  font-family: proxima-nova;
    font-weight: 600;
    letter-spacing: 2px;
    margin-left: 1em;
    padding: 1em 1.5em !important;
    display: block;
}

Passive buttons

Screen Shot 2020-11-06 at 9.34.38 AM.png

Hover effect (non-functioning for Member Login button)

Screen Shot 2020-11-06 at 9.34.47 AM.png

Edited by TessaV
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...