CSS for hover and visited links

I would like the links on this page to be black after they have been visited.

And with this Products sidebar widget, I would like a red (#e64e4e) on hover and black visited.

I tried this for the widget but its not working:
/* visited link */
#textwidget, a:visited {
color: #000000;

/* mouse over link */
#textwidget, a:hover {
color: ##e64e4e;

Thanks in advance

Hi Robert,

Try adding this CSS code to Appearance > Customize > Additional CSS from dashboard.

    .widget a:hover {
      color: #e64e4e !important;
    .widget a:visited {
      color: #000000 !important;

aThemes Support