StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-01-2010, 12:02 PM
Kris Themstrup Kris Themstrup is offline
Registered User
 
Join Date: Oct 2009
Location: Seattle, WA
Posts: 3,627
Default

Ok, well it's really two things - first, you have to look at the main area on the home page where the picture is - it's in enhanced.php and it's called hpmain. Inside that area is hpmainleft and hpmainright. The left has the image, and the right has the search box. First, you have to take the CSS of the hpmain and the hpmainleft (since we deleted hpmainright) and make them both approximately 650px wide. Then, go into your enhanced.php file and move the contentleft div above the hpmain section so it fits in there properly.

So your enhanced.php should now start like this:
Code:
<?php get_header(); ?>
<div id="homepage">
<div id="contentleft">
<div id="hpmain">
    	<div class="hpmainleft">
			<?php // begin code that checks to see if the Featured Content Gallery plugin is activated, otherwise shows a static image ?>
                <?php if (function_exists('gallery_styles')) : ?>
                    <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
                <?php else: ?>
                    <img src="<?php bloginfo('template_url'); ?>/images/featured.png" alt="<?php bloginfo('name'); ?>" />
                <?php endif; ?>   
            <?php // end code ?>     
		</div>
And your CSS for hpmain and hpmainleft should look like this:
Code:
#hpmain {
	background: #516B86;
	width: 655px;
	height: 280px;
	margin: 0px auto 0px;
	padding: 0px;
	overflow: hidden;
	}
	
.hpmainleft {
	float: left;
	width: 655px;
	margin: 0px;
	padding: 0px;
	}
__________________
Recommended StudioPress Designer

KristianThemstrup.com
WordPress Web Design | Real Estate & IDX | Identity & Branding | SEO & Marketing
Follow me on Twitter | StudioPress on Facebook
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Property Search Problem erosner General Discussion 4 03-15-2010 02:03 AM
Removing the property search Chrish46 General Discussion 6 01-11-2010 06:23 PM
removing the property search box Jprood General Discussion 1 01-10-2010 10:38 PM
Problem with property search politjunkie General Discussion 1 11-09-2009 07:02 AM
Property Search - Removing Unwanted Categories petranorris General Discussion 6 02-20-2009 10:44 PM


All times are GMT -5. The time now is 01:27 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.