ThemeShaper Forums » Acamas

move blog title slightly in acamas

(4 posts)
  1. bebs
    Member

    hi there. as you can see here http://ccgi.fforchlas.plus.com/wordpress/ the blog title is right on the left side. i would like just a small amount of padding on the left so it moves in slightly. can someone help?

    also, is there a simple way of including an image in the "latest article" box for acamas theme? i have tried following the suggesions on this forum but get lost - need an idiot proof method, i'm afraid!

    thank you!

    Posted 13 years ago #
  2. Do you have Firebug, the extension for Firefox? It is pretty essential in drill down exactly what pieces need some CSS love. Oh and you can edit the css right in there to see how things will behave.

    For the first part you just need to add some padding-left to #blog-title in your stylesheet.

    For the second, if you mean thumbnails... I don't have the answer. Sorry.

    Posted 13 years ago #
  3. bebs
    Member

    thanks! have now sorted the blog title, shall continue hoping someone will help on the image in the latest feature box!

    Posted 13 years ago #
  4. Hi bebs,

    Somewhere In Acamas' functions.php you'll need to add this line:

    add_theme_support( 'post-thumbnails', array( 'post' ) );

    Then search for <div id="feature-content"> and change

    <div id="feature-content">
           <?php the_excerpt(''.__('Read More <span class="meta-nav">&raquo;</span>', 'thematic').'') ?>

    To:

    <div id="feature-content">
    	   <?php if ( has_post_thumbnail() ) {
        		the_post_thumbnail();
        		} else {
        		// the current post lacks a thumbnail
        		// So add your default Thumbnail Image or fallback code here
        	}?>
    	<?php the_excerpt(''.__('Read More <span class="meta-nav">&raquo;</span>', 'thematic').'') ?>

    You'll need to read up on the new post thumbnail feature in WordPress to unlock more of it's secrets so look here:

    http://justintadlock.com/archives/2009/11/16/everything-you-need-to-know-about-wordpress-2-9s-post-image-feature
    http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/

    -Gene

    Posted 13 years ago #

RSS feed for this topic

Reply

You must log in to post.