WordPress.org

Ready to get started?Download WordPress

Forums

changing the colour of the links at the bottom of each post (2 posts)

  1. landandwater
    Member
    Posted 3 years ago #

    Hello. I've searched and searched and found nothing.

    I'm using a child of the theme called Toolbox 1.0 by Automattic. It's a bare bones theme in which I can make my own css and go nuts styling as I please.

    My problem is the color of the links in this line:
    Posted in News, Notices | Leave a comment

    The text is all the right size and the "Posted in", ",", "|" are all the right color. The <a href="blah blah"> has no class or id tag. And the </a><a href="blah blah"> is not in loop.php. See below for the code in loop.php. It seems that the php is referring to somthing called toolbox. I'm not skilled enough in php to figure this out or figure out where to find the html code for the links so i can add a class and colour my links.

    I wish firebug could tell me what files things are in.

    Thanks a bunch for any help provided.

    <footer class="entry-meta">
    			<span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'toolbox' ); ?></span><?php the_category( ', ' ); ?></span>
    			<span class="sep"> | </span>
    			<?php the_tags( '<span class="tag-links">' . __( 'Tagged ', 'toolbox' ) . '</span>', ', ', '<span class="sep"> | </span>' ); ?>
    			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'toolbox' ), __( '1 Comment', 'toolbox' ), __( '% Comments', 'toolbox' ) ); ?></span>
    			<?php edit_post_link( __( 'Edit', 'toolbox' ), '<span class="sep">|</span> <span class="edit-link">', '</span>' ); ?>
    		</footer></a>
  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    a link to your site might get you more replies.

    this seems to be a css issue, and this is best discussed viewing the live site.

    maybe try something like:

    .entry-meta a { color: #123456; }
    or more specific for the individual links:
    .entry-meta .cat-links { color: #abc456; }

    http://www.w3schools.com/css/css_pseudo_classes.asp

    btw:
    the 'toolbox' part is used for localisation, i.e. translation.

Topic Closed

This topic has been closed to new replies.

About this Topic