Support » Theme: Switty » CSS Visual composer link colour

  • Resolved snappypete

    (@snappypete)


    Hi,

    I am trying to change the colour of text when I hover over it with CSS.

    I can change the colour of the text an get it to underline on hover but not change the colour?

    a:link
    {
    color: #000000;
    }

    a:hover
    {
    color: #337ab7;
    text-decoration: underline;

    }

    Why will the colour not change?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Although it is not a good practice to use !important, but you can try this:

    a:hover
    {
    color: #337ab7 !important;
    text-decoration: underline;
    }

    Theme Author Rinku Y

    (@rinkuyadav999)

    Hi @snappypete

    You do not need to add custom css to change color of links. There is already options and you can find them here: Dashboard > Appearance > Customize > Switty Options > Color Options.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.