Support » Fixing WordPress » Adding a max-width to Posts!

  • Hello I’m using wordpress and I’ve just got my “latest post” to show on my homepage ( but I need to set a max image size for the bit displayed on my website, the php used to display my post is:

    // Include WordPress 
    define(‘WP_USE_THEMES’, false);

    <?php while (have_posts()): the_post(); ?>
    <span class=”RED”><?php the_title(); ?></span>
    <?php the_content(); ?> 
    <p>“>Read more…</p>
    <?php endwhile; ?>

    Which is just pasted into a div tag, any help with setting a max image width so it doesn’t ruin my layout when I post pictures would be much appreciated, a swift response would also be greatly appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding a max-width to Posts!’ is closed to new replies.