Post by amirasyura » Fri Nov 21, 2014 1:33 pm

hi im using opencart 2.0.0.0, i try to change the company logo to right side of page in stylesheet.css but cant find the code. can anyone help

User avatar
Newbie

Posts

Joined
Sat Jun 22, 2013 7:23 am
Location - Malaysia

Post by fido-x » Sat Nov 22, 2014 9:42 pm

Try this.
In the template file catalog/view/theme/default/template/common/header.tpl, find the following block of code (lines 73 to 81):

Code: Select all

<div class="col-sm-4">
  <div id="logo">
    <?php if ($logo) { ?>
    <a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" class="img-responsive" /></a>
    <?php } else { ?>
    <h1><a href="<?php echo $home; ?>"><?php echo $name; ?></a></h1>
    <?php } ?>
  </div>
</div>
Move it to after (the current line 84):

Code: Select all

<div class="col-sm-3"><?php echo $cart; ?></div>
and see how you go.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia
Who is online

Users browsing this forum: No registered users and 6 guests