• Resolved huriken

    (@huriken)


    I’ve created a list of menus on sidebar that link to pages. Now a menu text in which its page is open doesn’t stand out from others that are not in use. So how can I create a text hover for a sidebar menu text when its linked page is open or in use? I want to make that menu text on the sidebar stand out from other menus that are not open.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Theme Author Richie KS

    (@rkcorp)

    maybe something like this in custom css

    #right-sidebar .widget a:visited { color:#999 !important; }

    Thread Starter huriken

    (@huriken)

    Thank you Richie for your quick reply. But it doesn’t work. The menu text of the visited page on the sidebar remains the same; it doesn’t change at all. Do you have any other ideas?

    Theme Author Richie KS

    (@rkcorp)

    don’t know, its working in my end???

    Thread Starter huriken

    (@huriken)

    There must be something wrong in my part. Here is my website: https://ubueng.net/

    Thread Starter huriken

    (@huriken)

    Here is my custom CSS

    #post-entry article.post-single h1.post-title, h1.folio {
    font-size: 1.6em;
    }
    #custom #post-entry .post-content a { color:#d54e21 }
    body.page h1.post-title { text-decoration:underline; }
    #right-sidebar .widget a { color:#d54e21 }
    #right-sidebar .widget a { text-decoration:underline; }
    #right-sidebar .widget a:visited { color:#d54e21 !important; } —-> does not work.

    Theme Author Richie KS

    (@rkcorp)

    the link and visited link had the same hex color. try different color for already visited link.

    Thread Starter huriken

    (@huriken)

    I used to the different hex colors for the link and the visited link, but the results are as follows:

    #right-sidebar .widget a { color:#d54e21 } —>> The hex color:#d54e2 does not work, but color:#2085c9 in the visited link does.
    #right-sidebar .widget a { text-decoration:underline; }
    #right-sidebar .widget a:visited { color:#2085c9 !important; } — >>the visited link remains the same as other links on the same sidebar.

    Thread Starter huriken

    (@huriken)

    Probably, it doesn’t work because I used “Custom Sidebars” to create sidebar menus. However, why do these two work?

    #right-sidebar .widget a { color:#d54e21 }
    #right-sidebar .widget a { text-decoration:underline; }

    Theme Author Richie KS

    (@rkcorp)

    i didn’t see the visited css code in your site.

    #right-sidebar .widget a:visited { color:#2085c9 !important; }

    did you add them in customizer->general->custom css?

    Thread Starter huriken

    (@huriken)

    I removed it after I found out that it didn’t work. #right-sidebar .widget a:visited { color:#2085c9 !important; } did not work in my site. What should I do?

    Theme Author Richie KS

    (@rkcorp)

    try add it back so i can debug or check it on my side.

    Theme Author Richie KS

    (@rkcorp)

    seem working in my end.
    https://postimg.org/image/axodl1z45/

    Thread Starter huriken

    (@huriken)

    It seems that it works with Opera, but does not work with Google Chrome. However, problems still persist. You can see the graphic below. The previously visited link colors have remained the same although the currently visited link is in use. Thank you for great support and patience.

    https://postimg.org/image/4otzyktdn/

    Theme Author Richie KS

    (@rkcorp)

    make sure to clear your cache after save settings.
    again i still didn’t see the visited css code in page
    //ubueng.net/lesson-1-genre-of-discussion/

    Thread Starter huriken

    (@huriken)

    The visited css code was added. Here are codes added in my custom css:

    #post-entry article.post-single h1.post-title, h1.folio {
    font-size: 1.9em;
    }
    #custom #post-entry .post-content a { color:#d54e21 }
    body.page h1.post-title { text-decoration:underline; }
    #right-sidebar .widget a { color:#d54e21; text-decoration:underline; }
    #right-sidebar .widget a:visited { color:#2085c9 !important; }

    But I was still unable to solve the problem. Of course, the cache was cleared after the saving. You may want to see my site again after the visited css code has been added. https://www.ubueng.net

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘How to make a text hover for a sidebar menu text when its linked page is open’ is closed to new replies.