Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 11: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, 12:43 PM
juggledad's Avatar
juggledad
 
23,765 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, 01: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, 01: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, 02:30 PM
juggledad's Avatar
juggledad
 
23,765 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 06:50 PM.
  #6  
Old Mar 15, 2013, 10: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 10:23 AM.

Bookmarks



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 09:09 AM
How do I add a border that wraps center and side columns? zolzi Center area post/pages 6 Feb 9, 2011 12:58 PM
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 06:13 AM
side columns help on Atahualpa 2.21 Captainfancypants Sidebars & Widgets 3 Apr 18, 2009 02:27 AM


All times are GMT -6. The time now is 12:21 PM.


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