Site logo

Archived topic

Addition to the menu in the library

5 replies · Started by Anna on June 6, 2018

Viewing posts 1–6 of 6

Hi, I would like to know where in the personalization settings you can set the add-on displayed when you hover in the menu. As it is used in the site library generate press - Artisan template, Pivot Mike Oliver.

Thank you for your help

Hi there, i am a little unclear as to the question. Do you mean the change in menu item color?

Mainly I mean this line that appears after hovering the cursor in the menu in Artisan.

Hi Anna, that uses this CSS:

.main-navigation .menu > .menu-item > a::after {
    content: "";
    position: absolute;
    right: 50;
    left: 50%;
    top: 0px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: block;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: 0.3s width ease;
}

.main-navigation .menu > .menu-item > a:hover::after,
.main-navigation .menu > .menu-item > a:focus::after,
.main-navigation .menu > .current-menu-item > a::after{
    width: 30px;
}

Thank you very much!

Glad to be of help

This archived topic is closed to new replies.