Post by riwakawebsitedesigns » Thu Mar 27, 2014 1:18 pm

Hello I am having trouble sorting out my column-right. It is not staying on the right side but is beaning pushed under content. Any ideas?

Code: Select all

<?php echo $header; ?>

<div class="row">
   <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
   <div class="breadcrumb">
   <?php foreach ($breadcrumbs as $breadcrumb) { ?>
   <li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li>
   <?php } ?>
   </div>
   </div>
</div>

<div class="row">
<?php echo $column_left; ?>

<?php if ($column_left && $column_right) { ?>
<?php $class = 'col-lg-6 col-md-6 col-sm-6'; ?>
<?php } elseif ($column_left || $column_right) { ?>
<?php $class = 'col-lg-9 col-md-9 col-sm-9'; ?>
<?php } else { ?>
<?php $class = 'col-lg-12 col-md-12 col-sm-12'; ?>
<?php } ?>

<div id="content-data">
<?php echo $content_top; ?>
<h2><?php echo $heading_title; ?></h2>

<?php if ($thumb || $description) { ?>
<div class="media">
    <?php if ($thumb) { ?>
    <a class="pull-left thumbnail" href="#">
      <img class="media-object " src="<?php echo $thumb; ?>" alt="<?php echo $heading_title; ?>">
    </a>
    <?php } ?>
    <div class="media-body">
    <?php if ($description) { ?>
    <?php echo $description; ?>
    <?php } ?>
    </div>
</div>
<?php } ?>


<?php echo $content_bottom; ?>
</div>
<?php echo $column_right; ?>
</div>
<?php echo $footer; ?>

Attachments

Open Cart Category Error One.JPG

Open Cart Category Error One.JPG (76.13 KiB) Viewed 799 times

Last edited by riwakawebsitedesigns on Thu Mar 27, 2014 7:15 pm, edited 1 time in total.


Posts

Joined
Fri Dec 20, 2013 11:05 am

Post by nosecret » Thu Mar 27, 2014 4:43 pm

May be you put module category on content top position for layout category. Please check your setting for module category.

Active Member

Posts

Joined
Tue Dec 28, 2010 12:28 pm

Post by riwakawebsitedesigns » Thu Mar 27, 2014 5:07 pm

nosecret wrote:May be you put module category on content top position for layout category. Please check your setting for module category.
I found out what I needed to do <div id="content-data" class="<?php echo $class; ?>"> <!-- Added Class Works Now.


Posts

Joined
Fri Dec 20, 2013 11:05 am
Who is online

Users browsing this forum: No registered users and 5 guests