Link Color

  • Author
    Posts
  • #150415

    warrenlain
    Member
    Original poster

    Which CSS class corresponds to link color and link color on hover for body text? Right now my links are/are almost the same color as body text.

    The blog I need help with is: warrenmusicxyz.wpcomstaging.com

    #150507

    thelukemcdonald
    Theme Author

    Typically, the links would have be underlined to distinguish them from the text, however, it appears you may be using the Elementor plugin which has removed underlines from text links. I’ve provided some custom CSS below that may help with defining a color for links within the entry content.

    .entry-content a {
      color: #ff0000;
    }
    
    .entry-content a.button {
      color: inherit;
    }

    Let me know how that works for you. There is also a CSS Customization forum that you may find helpful when seeking to customize the look and feel of your site.

    #150514

    warrenlain
    Member
    Original poster

    I tried that, but it didn’t work for me. I tried replacing your color with this one #369dd4 and it didn’t reflect that change for some reason.

    Could something be overriding it?

    #150516

    thelukemcdonald
    Theme Author

    Maybe try this:

    body .entry-content a {
      color: #369dd4;
    }
    
    body .entry-content a.button {
      color: inherit;
    }
    #150518

    warrenlain
    Member
    Original poster

    Thank you, I tried that… still not working.

    #150520

    thelukemcdonald
    Theme Author

    It looks like this is an elementor issue again. Apparently, elementor prefers to use it’s own templating system. In this case, it would be expected that things may not work as expected do to core WordPress post classes not being available.

    The following might help, however, you may need to modify if you see the style bleeding into other areas where it is not wanted.

    body .elementor a {
      color: #369dd4;
    }
    
    body .elementor a.button {
      color: inherit;
    }
    #150521

    warrenlain
    Member
    Original poster

    Oooh that one did it! Thanks a million!

    #150523

    thelukemcdonald
    Theme Author

    Great, glad to hear it!

The topic ‘Link Color’ is closed to new replies.