WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Andreas09 Theme help (3 posts)

  1. Jayjerome
    Member
    Posted 8 years ago #

    Sorry in advance if this is a simple-minded question...

    I’ve set up “WP-Andreas09” on my WordPress blog (a very attractive and functional theme) but I need some help with uploaded photos when I’m writing posts.

    Now when I upload photos, they are aligned to the left side of the page, with my text either above or below the photos. I want the text to wrap around the photos, or align alongside them.

    At the theme site (http://webgazette.co.uk/wordpress-themes/wp-andreas09/ ) this is posted (may or may not be relevant)
    ·Class=”left” - A left aligned image with 5px padding and 1 px border. Text will be on the right.
    ·Class=”right” - A right aligned image with 5px padding and 1 px border. Text will be on the left.
    ·Class=”noalign” - An image without alignment and with 5px padding and 1px border. Text will be below image.

    Can anyone advise me what I need to get text wrapped around uploaded images for this theme?

    Thanking you in advance for your help,

    JJ

    ps - I'm a newbie when it comes to editing style sheets, etc, so comments reduced for the lowest common denominator (me) would be appreciated.

  2. Chris_K
    Member
    Posted 8 years ago #

    Well, no need to edit stylesheets as what you need is already in there.

    Assuming you're using the wysiwyg editor:
    After you upload an image to your current post, hit the HTML toolbar button. Find the <img> tag for the picture you just added. Add the class definition as appropriate.
    For instance, if it says:
    <img id="image533" src="http://yourdlomain/blog/wp-content/uploads/2006/06/picture.gif" alt="A Logo"/>

    just add the class for left or right:

    <img class="left" id="image533" src="http://yourdlomain/blog/wp-content/uploads/2006/06/picture.gif" alt="A Logo"/>

  3. Jayjerome
    Member
    Posted 8 years ago #

    Thanks so much! It worked fine!

    But -- is there anyway to make the class="left" the default setting, so I don't have to insert it everytime I upload a photo?

    JJ

Topic Closed

This topic has been closed to new replies.

About this Topic