WordPress.org

Ready to get started?Download WordPress

Forums

Images in WordPress (5 posts)

  1. jemily
    Member
    Posted 9 years ago #

    I wondered how I can get little images before the title of the post, comments, links etc like on this site http://pure-essence.net. Is it a problem to do with the CSS, because I've tried it and I really can't sort it out and I feel stupid.

  2. Cypher
    Member
    Posted 9 years ago #

    For the tiny icons after the links, you can use the following CSS entries. Be aware that they do not validate.


    #content a[href^="http:"], .comments-body a[href^="http:"] {
    background: transparent url(/wp-images/link_ico.gif) no-repeat 100% 0%;
    padding-right: 10px;
    }


    #content a[href^="http://<YOUR URL>"], .comments-body a[href^="http://<YOUR URL>"] {
    background-image: none;
    padding-right: 0px;
    }

    The first portion will add the icon, the second portion will ensure that anything linked within your own site will not get the icon.

    Regards

  3. Jimmie
    Member
    Posted 9 years ago #

    I'm feeling pretty stupid too. All I'm trying to do is to get images to match with text and fill the page correctly and I'm just getting tied in knots and it's getting messier and messier.

    Look at the mess I made here: http://blog.winggang.com/index.php?p=41
    I just want the images placed to coordinate with the text about them.

    BTW, I'm running Safari on a Mac which I think may tend to complicate things a bit.

    Highly grateful for nny advice.

  4. http://www.tamba2.org.uk/wordpress/graphicalcss/align/index.html

    Will that help, or at least get you started?

  5. Actually, taking another look, you may be better off using a seperate gallery for posts which contain larger images. Then, you just direct your readers to your gallery related to that post. For example:

    My Blog: http://www.macmanx.com/wordpress/index.php

    My Gallery: http://www.macmanx.com/gallery/index.php

    Here's a good list of gallery scripts/programs: http://wiki.photoblogs.org/wiki/Photoblog_Scripts_and_Programs

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.