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

Action on hover over category words


FABMedical

Question

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
20 hours ago, tuanphan said:

Can you share your site url?

Its in the first post i made above your reply.

https://www.fab-medical.com

On 2/13/2021 at 1:23 PM, FABMedical said:

Site URL: https://www.fab-medical.com

Hi All i am attempting to replicate the underline effect that my menu bar has at the top of the website on the category names in the list on the sidebar of the shop page any help is much appreciated.,

 

https://www.fab-medical.com

 

 

Link to post
  • 0
On 2/15/2021 at 4:13 PM, FABMedical said:

Its in the first post i made above your reply.

https://www.fab-medical.com

 

Add to Design > Custom CSS

/* Shop link effect */
.category-link:after {
    content: '';
    background: #000;
    height: 2px;
    width: 0;
    display: block;
    margin-top: 2px !important;
    transition: width 1s;
    margin: 0 auto;
}
.category-link:hover:after {
    width: 100%;
}

 

Link to post
  • 0
On 2/16/2021 at 1:51 PM, tuanphan said:

Add to Design > Custom CSS


/* Shop link effect */
.category-link:after {
    content: '';
    background: #000;
    height: 2px;
    width: 0;
    display: block;
    margin-top: 2px !important;
    transition: width 1s;
    margin: 0 auto;
}
.category-link:hover:after {
    width: 100%;
}

 

Thanks i adapted it slightly as wasn't right inital result i managed to get something we are happy with by changing to 

/* Shop link effect */
.category-link:after {
    content: '';
    background: #000;
    height: 2px;
    width: 0;
    display: block;
    margin-top: 2px !important;
    transition: width 1s;
    margin: 1 auto;
}
.category-link:hover:after {
    width: 12%;
}

 

thanks again for the help

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...