WordPress.org

Ready to get started?Download WordPress

Forums

Link Issue (4 posts)

  1. nathanperkel
    Member
    Posted 4 years ago #

    Not all of my text is underlining properly as you can see in this jpg below.
    I cant tell where the code is for this, and what part of the css lies the copy of each post, so i can change just that font?
    Is there a key, so i can figure out what css goes to what type?



    http://nathanperkel.com/screenshot.jpg

  2. skylar_inmotion
    Member
    Posted 4 years ago #

    You're CSS rule looks like:

    .entry p a, blockquote a {
    border-bottom:1px dotted #999999;
    color:#000000;
    text-decoration:none;
    }

    The links that aren't underlining are not contained within a paragraph, so the above rule isn't applying to them.

  3. nathanperkel
    Member
    Posted 4 years ago #

    But all the other links that are identical work just fine..
    this is set up just the same..
    or am i missing something?
    how would I go about fixing this?

  4. alchymyth
    Forum Moderator
    Posted 4 years ago #

    the 'more' tag of that particular post was inserted between two images in a span, and not in a paragraph - therefore the link style does not get applied (as @skylar_inmotion already pointed out).

    you could extend the link style to a.more-link- see following styles:

    .entry p a, blockquote a, a.more-link {
       color: #000000;
       text-decoration:none;
       border-bottom: 1px dotted;
       border-bottom-color:  #999;
    	}
    
    .entry p a:hover, blockquote a:hover, a.more-link:hover {
       color: #cccccc;
       text-decoration:none;
       border-bottom: 1px dotted;
       border-bottom-color: #999;
    	}

    hope, you see the difference, and are able to edit the style.css of your theme accordingly.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags