Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Columns on top of each other instead of side by side


  #1  
Old Mar 15, 2013, 10:55 AM
kalibali04
 
12 posts · Mar 2011
What is wrong with my code? I want there to be 2 columns. the left one should have content for the pages (which is does) the right one should have the Widget Area ONE. However, for some reason the "right" column is under the "left" instead of being side by side. Column sizes are 8 and 4.

They won't stay with the red and blue background...I was just trying to figure it out on my own.

http://4seasonsoutdoorservices.com/redo/

<?php get_header(); ?>


<div class="row" style="background:yellow;">
<div class="col8" style="background:red;">

<div id="post-<?php the_ID(); ?>" <?php post_class('cf'); ?>>

<div class="post-bodycopy cf">
<?php the_content(); ?>
<?php wp_link_pages( array(
'before' => __( '<p class="post-pagination">Pages:', 'montezuma' ),
'after' => '</p>'
) ); ?>
</div>
<?php edit_post_link( __( 'Edit', 'montezuma' ) ); ?>

</div>
</div>

<div class="col4" style="background:blue;">
<?php dynamic_sidebar( 'Widget Area ONE' ); ?>
</div>


<?php get_footer(); ?>
  #2  
Old Mar 15, 2013, 11:43 AM
juggledad's Avatar
juggledad
 
23,627 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what template is this?
check the number of <div...> with the number of </div>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 15, 2013, 12:02 PM
kalibali04
 
12 posts · Mar 2011
OK - apparently it just fixed itself...I'm so confused. Anyway, is there a way to align the text to the top of the content section? (so that it's even with "Contact me")
  #4  
Old Mar 15, 2013, 12:03 PM
kalibali04
 
12 posts · Mar 2011
Quote:
Originally Posted by juggledad
what template is this?
check the number of <div...> with the number of </div>
Template: Montezuma
  #5  
Old Mar 15, 2013, 01:30 PM
juggledad's Avatar
juggledad
 
23,627 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Which of the virtual template's is that code from?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 15, 2013 at 05:50 PM.
  #6  
Old Mar 15, 2013, 09:16 PM
kalibali04
 
12 posts · Mar 2011
It was from the "page" template. adding the image widget to the top of the page is what made the columns line up side-by-side.

My current page is: http://4seasonsoutdoorservices.com/

I still haven't figured out how to get the content text to move up and be aligned at the top of the page (even with "Connect with us"). It looks like it's vertically aligned center maybe

Last edited by kalibali04; Mar 16, 2013 at 09:23 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Insert images and/or text side by side in center column without tables dutchess Center area post/pages 1 Apr 8, 2011 08:09 AM
How do I add a border that wraps center and side columns? zolzi Center area post/pages 6 Feb 9, 2011 11:58 AM
How can I make a wide side bar above Right-Inner Side bar and Right Side Bar darmanpurba@gmail.com Header configuration & styling 2 Jan 12, 2011 05:13 AM
side columns help on Atahualpa 2.21 Captainfancypants Sidebars & Widgets 3 Apr 18, 2009 01:27 AM


All times are GMT -6. The time now is 03:53 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.