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
  #1  
Old 11-07-2008, 11:16 AM
rishel rishel is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 173
Default Complicated Question About Combining Middle Section

First of all, the image concept is here: http://www.pixelmatters.biz/main/temp/sitelayout.png

First of all, I am wanting to combine the first and second column (which used to be there columns) into one. The picture shows this concept, which has the title "Welcome To Crosswalk Community Church".

The second part of the concept, is to add a video location, where the third location used to be.

Yes, complicated I know, but it would really set this layout off in my opinion. What video plugin do you recommend first of all to play FLV videos (If I have to), or other videos. And, can anyone tell me how to combine those first two sections into one.

Thank you VERY much to anyone that can assist.
__________________
I See In CMYK | http://www.ChristianRishel.info | Graphic & Vector Design, Print Media
  #2  
Old 11-07-2008, 11:25 AM
Jon's Avatar
Jon Jon is offline
Community Moderator
 
Join Date: Oct 2008
Location: New York
Posts: 4,037
Default Re: Complicated Question About Combining Middle Section

Rishel,

It's actually not too complicated. To combine the first two sections you need to go into style.css and adjust the following lines:

Code:
#homecenter {
width: 298px;
height: 246px;
float: left;
border-right: 1px solid #3C3F36;
padding: 0 10px 10px 10px;
overflow: hidden;
line-height: 1.5em;
}

#homeright {
width: 310px;
height: 246px;
float: left;
padding: 0 0 10px 10px;
overflow: hidden;
line-height: 1.5em;
}
Expand the home left to cover both the home left and the home middle. So it should look like this:
Code:
#homeleft {
width: 608px;
height: 246px;
float: left;
border-right: 1px solid #3C3F36;
padding: 0 10px 10px 0;
overflow: hidden;
line-height: 1.5em;
}
Now go into home.php and eliminate the tag:
Code:
<div id="homecenter"></div>
and everything between it, up to
Code:
<div id="homeright">
Hope this helps.
__________________
Thanks,
Jon Weisss
Request a quote
Need WordPress Maintenance?
I'm A Recommended Designer
Skype: weiss.jonathan
Please respect my privacy. Do not pm or email me regarding support questions unless otherwise instructed.
  #3  
Old 11-07-2008, 11:31 AM
John Flynn's Avatar
John Flynn John Flynn is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Sherman, TX
Posts: 2,021
Default Re: Complicated Question About Combining Middle Section

You can go into home.php and delete the home center section.

Then go into your stylesheet and find #home left and adjust your width to whatever you want it to be (probably around 600px it looks like.)

To pull video just embed it in a post and use the post id to pull it. You could hardcode this if you wanted to in home.php also by embedding a youtube video in there or really any other kind of player.
  #4  
Old 11-07-2008, 11:33 AM
Jason Schuller Jason Schuller is offline
Registered User
Pro Plus Member
 
Join Date: Sep 2008
Posts: 1,367
Default Re: Complicated Question About Combining Middle Section

This is actually not as complicated as you might think... Edit home.php and remove:

Code:
<div id="homecenter">
    <?php if ($aOptions['column2-id'] != '') { query_posts('p=' . $aOptions['column2-id']); } ?>
    <?php while (have_posts()) : the_post(); ?>
    <h3>"><?php the_title() ?></h3>
    <?php the_content(''); ?> 
    <?php endwhile; ?>
</div>
Then edit style.css and change the width of #homeleft to 608px:

Code:
#homeleft {
width: 608px;
height: 246px;
float: left;
border-right: 1px solid #3C3F36;
padding: 0 10px 10px 0;
overflow: hidden;
line-height: 1.5em;
}
This will give you the layout you are looking for. For embedding FLV's I definitely recommend:

http://www.jeroenwijering.com/?item=JW_FLV_Player

Jason
  #5  
Old 11-07-2008, 11:34 AM
Jason Schuller Jason Schuller is offline
Registered User
Pro Plus Member
 
Join Date: Sep 2008
Posts: 1,367
Default Re: Complicated Question About Combining Middle Section

Funny... 3 people providing support at the same time. :D
  #6  
Old 11-07-2008, 11:36 AM
Jon's Avatar
Jon Jon is offline
Community Moderator
 
Join Date: Oct 2008
Location: New York
Posts: 4,037
Default Re: Complicated Question About Combining Middle Section

Gotta love it, eh? Hey - it makes your job just a little easier!
__________________
Thanks,
Jon Weisss
Request a quote
Need WordPress Maintenance?
I'm A Recommended Designer
Skype: weiss.jonathan
Please respect my privacy. Do not pm or email me regarding support questions unless otherwise instructed.
  #7  
Old 11-07-2008, 11:38 AM
John Flynn's Avatar
John Flynn John Flynn is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Sherman, TX
Posts: 2,021
Default Re: Complicated Question About Combining Middle Section

What's really funny is that we all said essentially the same thing....
  #8  
Old 11-07-2008, 11:52 AM
rishel rishel is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 173
Default Re: Complicated Question About Combining Middle Section

Ok, got the first part done. You guys rock! It looks awesome. Now I am going to try to do the JLW Media Player, which seems a little intimidating. I only wish there was a way to add it to the admin menu somehow, like we used to do in the Rev 1 sites.

If anyone has any suggestions let me know, I am going to try to do this now.
__________________
I See In CMYK | http://www.ChristianRishel.info | Graphic & Vector Design, Print Media
  #9  
Old 11-07-2008, 11:53 AM
rishel rishel is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 173
Default Re: Complicated Question About Combining Middle Section

Errr wait. Do I remove the far right section before I add code or ? Confused. Do I edit the home.php page, and past in some type of code?
__________________
I See In CMYK | http://www.ChristianRishel.info | Graphic & Vector Design, Print Media
  #10  
Old 11-07-2008, 12:09 PM
Jon's Avatar
Jon Jon is offline
Community Moderator
 
Join Date: Oct 2008
Location: New York
Posts: 4,037
Default Re: Complicated Question About Combining Middle Section

you put it in the homeright div
__________________
Thanks,
Jon Weisss
Request a quote
Need WordPress Maintenance?
I'm A Recommended Designer
Skype: weiss.jonathan
Please respect my privacy. Do not pm or email me regarding support questions unless otherwise instructed.
  #11  
Old 11-07-2008, 01:13 PM
John Flynn's Avatar
John Flynn John Flynn is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Sherman, TX
Posts: 2,021
Default Re: Complicated Question About Combining Middle Section

Quote:
Originally Posted by rishel
I only wish there was a way to add it to the admin menu somehow, like we used to do in the Rev 1 sites.

There actually is a way you can do this. You just need to write the code in your template functions file similar to the Rev 1 themes...
  #12  
Old 11-07-2008, 02:28 PM
rishel rishel is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 173
Default Re: Complicated Question About Combining Middle Section

This rocks, got it working. Thanks guys.
__________________
I See In CMYK | http://www.ChristianRishel.info | Graphic & Vector Design, Print Media
  #13  
Old 11-07-2008, 02:30 PM
Jon's Avatar
Jon Jon is offline
Community Moderator
 
Join Date: Oct 2008
Location: New York
Posts: 4,037
Default Re: Complicated Question About Combining Middle Section

Glad it's going well! You're welcome.
__________________
Thanks,
Jon Weisss
Request a quote
Need WordPress Maintenance?
I'm A Recommended Designer
Skype: weiss.jonathan
Please respect my privacy. Do not pm or email me regarding support questions unless otherwise instructed.
  #14  
Old 11-07-2008, 04:00 PM
Jason Schuller Jason Schuller is offline
Registered User
Pro Plus Member
 
Join Date: Sep 2008
Posts: 1,367
Default Re: Complicated Question About Combining Middle Section

Glad you were able to figure it out.
 

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
Featured video middle section Ryan Maes General Discussion 6 05-28-2010 09:03 AM
Creating a top-middle second Section ajwmedia General Discussion 2 03-26-2009 10:11 PM


All times are GMT -5. The time now is 12:34 PM.

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