WordPress.org

Ready to get started?Download WordPress

Forums

How do you add an Icon by your name (3 posts)

  1. paOol
    Member
    Posted 7 years ago #

    heres an example of what i am looking for.
    http://insomniaguild.org/

    an icon, then the news title, and the timestamp underneath.
    how do i format it like that?

  2. billh
    Member
    Posted 7 years ago #

    It looks like the same icon each time, so that makes it much easier. In your theme's CSS file, define a style for your post headings, including the icon as a background image. Also set the padding on the left to be several pixels more than the icon width so the text of your post heading doesn't overlap the icon. Then define another style for your time stamp using a smaller font. Finally, in your loop, determine where the post header is and replace the existing post header tags (these are <h2> tags in Kubrick's "index.php" file, line #10) with your post heading style tags as a DIV. Do the same thing with the post time stamp (line #11, the <small> tags).

  3. paOol
    Member
    Posted 7 years ago #

    do you think you could do it for me if i provided the .css files? i have no idea where to begin.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.