Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Column position changed


sydjeii

Recommended Posts

im having trouble positioning my columns back to their original position after i added the navbar on top and some nav menus.

 

here's what i did.. i defined a new style navBar to stylesheet.css,

 

.navBar{
background:url(ext/jquery/ui/redmond/images/navbarbg2.png) no-repeat;
height:66px;
width:1024px;
}

.navBar_home a {
background:url(images/navmenu_bg.png);
float:left;
margin-left:10px;
margin-top:-67px;
}.navBar_home a:hover{
background:url(images/navmenu_hoverbg.png);
float:left;
margin-left:10px;
margin-top:-67px;
}
.navBar_profile a{
background:url(images/navmenu_bg.png);
float:left;
margin-left:155px;
margin-top:-67px;
}.navBar_profile a:hover{
background:url(images/navmenu_hoverbg.png);
float:left;
margin-left:155px;
margin-top:-67px;
}

 

used navBar instead of ui-widget-header, and added some code to header.php

 

<div class="navBar infoBoxHeading"><?php //echo '  ' . $breadcrumb->trail(' » '); ?></div> <?php //CHANGED UI-WIDGET-HEADER to navBar ?>
 <div class="navBar_home">
<?php echo '<a href="#">' . tep_image(DIR_WS_IMAGES . 'navmenu_home.png', "Home") . '</a>'; ?></div>
</div>
<div class="navBar_profile push_1">
<?php echo '<a href="account.php">' . tep_image(DIR_WS_IMAGES . 'navmenu_myprofile.png', "Home") . '</a>'; ?></div>
</div>

 

after that my site looked like this (see attached file)

post-297781-0-22513400-1317014670_thumb.jpg

-=PINOY AKO=-

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...