WordPress.org

Ready to get started?Download WordPress

Forums

Can you color listed links? (3 posts)

  1. Jinsan
    Member
    Posted 9 years ago #

    Ok I'm currently using the cuztomizable listings plugin (ultra excellent stuffy). Now this is my code:

    <ul class="film">
    <?php c2c_get_recent_posts(3, "<li>%post_date%: %post_URL%<br />by: %post_author_posts%</li>", "2"); ?>
    </ul>

    And for that class I did this:

    ul.film {
    color: #CC6666;
    margin-bottom: 4px;
    }

    ul.film a {
    color: #cc6666;
    }

    ul.film a:visited {
    color: #CC6644;
    }

    ul.film a:hover {
    color: #CC6677;
    }

    But the links are still using the default color (black and grey). Is there anyway to make this work? I'm try to color the recent links dependent on the category (whcih is also colour coded).

    Thanks in advance

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    it is very possible - I did it once in rainbow colours :)

    Link so we can View Source ?

  3. Jinsan
    Member
    Posted 9 years ago #

    Ok well i think i solved it and got it working my page was invalid and throwing up.

    Still my links are going too far to the right, and pishing the content page down, is there a way to word wrap the link so that it goes to the next line after it hits the end of the sidebar?

    Cheers

    Edit: Nevermind think I got it sussed

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.