Wordpress REVOLUTION theme tweaks #2

September 16, 2008 by tibor · Leave a Comment 

To enable the commenting ability on a static Page post in the REVOLUTION wordpress theme (for example for a Testimony Page)

Insert the following code segment:

<div class="comments">
<h4>Comments</h4>
<?php comments_template(); // Get wp-comments.php template ?>
</div>

into the theme’s page.php file to make it look like below:

<?php get_header(); ?>
<div id="content">
<div id="contentleft">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php the_content(__('Read more'));?><div style="clear:both;"></div>
<!--
<?php trackback_rdf(); ?>
-->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
<div class="comments">
<h4>Comments</h4>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
</div>
<?php include(TEMPLATEPATH."/sidebar_page.php");?

Wordpress REVOLUTION theme tweaks #1

September 16, 2008 by tibor · Leave a Comment 

This is pretty specific to the Wordpress theme I purchased from http://www.revolutionthemes.com/.

The desired outcome is displayed in the following 2 images (click on images to get the full size displayed:
and

On the default REVOLUTION theme to align text better with the bottom 3 image you need to change 3 sections in the theme’s style.css file.

The 3 sections to look for are:

  1. #homebottomleft img {
  2. #homebottommiddle img {
  3. #homebottomright img {

Change the second px setting on the margin line from 0px to 5px or whatever number of pixels work for you in all 3 instances. Example 1 is displayed below:

BEFORE

#homebottomleft img {
float: left;
border: 2px solid #999999;
margin: 0px 0px 10px 0px;
}

AFTER

#homebottomleft img {
float: left;
border: 2px solid #999999;
margin: 0px 5px 10px 0px;
}