Results 1 to 5 of 5

Thread: Problem with tables

Threaded View

  1. #1

    Problem with DIVs

    I was able to add more divs to my wordpress theme index page but after the first row, it only puts the divs in the first two columns.

    See for yourself:
    DennCorp

    Does anyone know how to fix this?

    Here's the index code if anyone needs it for reference:

    <?php global $kriesi_options; get_header(); ?>

    <?php if($kriesi_options['fill_main'] == 1 || $kriesi_options['fill_main'] == ""){


    //*if you did choose: "edit by html" you can now edit the following lines: *//
    ?>

    <div class="info_box box1">
    <div class="box_image"><!-- insert image here--></div>
    <span class="meta">adipisicing elit, sed do</span>
    <h2>Title A</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p>
    <p>Ut enim ad minim veniam.<br/><br/> quis nostrud exercitation ullamco laboris nisi ut aliquip ex</p>
    </div>

    <div class="info_box box2">
    <div class="box_image"><!-- insert image here--></div>
    <span class="meta">adipisicing elit, sed do</span>
    <h2>Title B</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p>
    <p><br/><br/>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex</p>
    </div>

    <div class="info_box box3">
    <div class="box_image"><!-- insert image here--></div>
    <span class="meta">adipisicing elit, sed do</span>
    <h2>Title C</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.<br/><br/> sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p>
    <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex</p>
    </div>

    <div class="info_box box4">
    <div class="box_image"><!-- insert image here--></div>
    <span class="meta">adipisicing elit, sed do</span>
    <h2>Title D</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.<br/><br/> sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p>
    <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex</p>
    </div>

    <div class="info_box box5">
    <div class="box_image"><!-- insert image here--></div>
    <span class="meta">adipisicing elit, sed do</span>
    <h2>Title E</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.<br/><br/> sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p>
    <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex</p>
    </div>

    <div class="info_box box6">
    <div class="box_image"><!-- insert image here--></div>
    <span class="meta">adipisicing elit, sed do</span>
    <h2>Title F</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.<br/><br/> sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p>
    <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex</p>
    </div>

    <?php
    //stop editing here if you did choose "edit by html"


    }else if($kriesi_options['fill_main'] == 2){
    $query_string .= "&showposts=3";
    $query_string .= "&cat=".$kriesi_options['com_cat'];
    query_posts($query_string);
    $counter = 1;

    if (have_posts()) : while (have_posts()) : the_post();

    $preview_pic_mainpage = get_post_meta($post->ID, "preview_pic_mainpage", true);
    $punchline = get_post_meta($post->ID, "punchline", true);
    ?>


    <div class="info_box box<?php echo $counter; $counter++; ?>">
    <div class="box_image"><img src='<?php echo $preview_pic_mainpage; $preview_pic_mainpage =''; ?>' alt="" /></div>
    <span class="meta"><?php echo $punchline; $punchline='';?></span>
    <h2><?php the_title(); ?></h2>
    <?php the_content('Read more'); ?>
    <?php edit_post_link('Edit','', '' ); ?>
    </div>
    <?php endwhile; endif; ?>


    <?php } ?>
    <?php get_footer(); ?>
    Last edited by Brandon Dennis; 13 February, 2010 at 18:13 PM.

Similar Threads

  1. [WTH] Need to add new tables to phpbb install
    By kewler in forum Services
    Replies: 0
    Last Post: 20 March, 2010, 11:00 AM
  2. Inserting new tables in PHPBB setup file
    By kewler in forum Databases
    Replies: 0
    Last Post: 10 March, 2010, 07:45 AM
  3. Get tables name from DataBase [vb]
    By ghadeer in forum Databases
    Replies: 7
    Last Post: 16 May, 2009, 14:54 PM
  4. Just a problem
    By Szise in forum Proxy List Support Forum
    Replies: 4
    Last Post: 17 December, 2008, 03:45 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •