• Resolved vardaaberbach

    (@vardaaberbach)


    In order to change the link color (not of the secondary menu, but in the Home page text) I’ve tried to add in Child theme style.css:

    a:link{
    text-decoration: underline;
    color: #000000;
    }

    But although the underline is added, the color isn’t changed. Please help!

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter vardaaberbach

    (@vardaaberbach)

    Sorry, forgot to add the site link:

    https://www.aviram-engineering.com/

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Where are the links in that page?

    Thread Starter vardaaberbach

    (@vardaaberbach)

    Hi Andew,

    Thank you for trying to help!
    In the home page, below the text there are 5 sliders named as: Off-Shore, Marine, Civil… etc.

    I’d like the user the press the link and ‘get’ to the relevant page.

    Thanks,

    Varda

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You might have been editing the wrong file, there is no CSS in your child theme style.css file that would change the link colour:
    https://www.aviram-engineering.com/wp-content/themes/virtue-child/style.css

    vardaaberbach, Link color is set in your theme options > basic settings. You can set the primary color and that will color your links.

    Kadence Themes

    Thread Starter vardaaberbach

    (@vardaaberbach)

    Hi Andrew,

    There is a style.css in the virtue-child.
    I don’t know which code to insert there that would only influence the linked words in the Home page and will not affect the secondary menu. Could you please let me know what should it be?

    Thanks!

    Varda

    Thread Starter vardaaberbach

    (@vardaaberbach)

    Hi Kadence support,

    Thank you for your reply, but if I understand correctly it means that the color of the words that are links,is always a 20% or 30% less than the primary one.
    I would like the color of those linked word to be entirely different and different than the menu.

    Hope I managed to make my self clear ??

    Thanks!

    Varda

    Thank you for your reply, but if I understand correctly it means that the color of the words that are links,is always a 20% or 30% less than the primary one.

    No the primary color is the color of the links, what you set as the 30% is the hover color.

    You can use css to make the menu hover different then the primary color. Like this:

    #nav-second ul.sf-menu a:hover {
      color: white;
    }

    Kadence Themes

    Thread Starter vardaaberbach

    (@vardaaberbach)

    Thank you so much! Much appreciated!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Change link color’ is closed to new replies.