Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • In case you haven’t figured this out yet, you can edit the custom-passwords.php file under modules.

    This is your problem, the padding-top entry needs to be a lower value:

    .singular .hentry{
    padding-top: 4.875em;
    padding-right: 0pt;
    padding-bottom: 0pt;
    padding-left: 0pt;
    position: relative;
    }
    
    .singular.page .hentry{
    padding-top: 3.5em;
    padding-right: 0pt;
    padding-bottom: 0pt;
    padding-left: 0pt;
    }

    Play with those settings to get what you like, or use this:
    padding-top:5px; or padding:5px 0 0 0;

    Ok guys,

    Put this in header.php of your template replacing the existing <body> tag:
    <body id="body<?php $bodyid=$_SERVER['REQUEST_URI']; echo substr($bodyid,1,4);?>">

    Then every page will create a unique body id, you can view the source on each page to see the different body id’s.

    Then throw another div id in your template where you want the photo(s) to appear, I used <div id="headerimage"></div>

    Then use CSS to display the different photos based on the body id. Here’s an example of the CSS I use to show a different header image on every page or section of a website:

    #body #headerimage{
    	margin-top: 0px;
    	height: 222px;
    	width:968px;
    	margin-left:11px;
    	background-image: url("images/header/front.jpg");
    }
    #body * #headerimage{
    	margin-top: 0px;
    	height: 222px;
    	width:968px;
    	margin-left:11px;
    	background-image: url("images/header/front.jpg");
    }
    
    #bodyabou #headerimage{
    	margin-top: 0px;
    	height: 222px;
    	width:968px;
    	margin-left:11px;
    	background-image: url("images/header/about_us.jpg");
    }

    #body * #headerimage will show this picture when/if no picture is assigned to the body id.

    #bodyabou #headerimage is my About Us page, this shows a different photo as well……I think this should be enough to get you guys going…..

    If you have any more question I’ll try to reply as quick as I can….

    Just create a separate template file and configure it to load only one category.

    Do you know how to create a template file?
    You can find out more about this here as well:
    http://codex.wordpress.org/Function_Reference/query_posts

    Try this:

    if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'name' => 'Left Sidebar',
    'before_widget' => '<ul id="featuresmenu">',
    'after_widget' => '',
    'before_title' => '<li class="feat"><h3>',
    'after_title' => '</h3>',
    ));

    You can implement the body_class function and then use CSS to load different images on the pages you want.

    Read more here:
    http://codex.wordpress.org/Function_Reference/body_class

Viewing 6 replies - 1 through 6 (of 6 total)