Forums

Can my blog be colorful? (4 posts)

  1. atpower
    Member
    Posted 7 years ago #

    I mean that the content of my blog is of the samecolor,can I define some of them to be red/green/ yellow?

  2. midori
    Member
    Posted 7 years ago #

    yup, you couls have a random number between 1 and say... 8 ? And the div name around your posts like <div class="color<?php echo rand(1, 8); ?>"> and in your CSS:
    color1 { background-color: red; color: black }
    color2 { background-color: black; color: white }

    and so on.

  3. atpower
    Member
    Posted 7 years ago #

    thank you
    but I mean the text of my blog

  4. James
    Happiness Engineer
    Posted 7 years ago #

    You can give every text value it's own color, but that will be just one color per text value. So, the links can be purple and visited links can be goldenrod, and the title text can be green while the article text can be putrid green.
    http://www.tamba2.org.uk/wordpress/graphicalcss/
    It doesn't get more colorful than this: http://www.tamba2.org.uk/wordpress/1css/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.