Post by snoozebtn » Tue Mar 03, 2015 1:10 am

Anyone have a quick sec to throw me some guidance on moving my Site Logo from the standard position up into the Top Div? I have been messing around with the CSS already and just cant seem to get it to fit right without pushing crap around.

Here is an image to depict what I am looking to do...the actual site is mobiusapparel.com.

BTW... I have already completely removed the currency and search box on my layout
OpencartTop.png

OpencartTop.png (1.54 MiB) Viewed 4104 times


New member

Posts

Joined
Thu May 20, 2010 12:36 am

Post by viethemes » Tue Mar 03, 2015 9:14 pm

To solve it, you can edit the file catalog\view\theme\default\template\common\header.tpl, find

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>
cut it, and find

Code: Select all

<?php echo $currency; ?>
<?php echo $language; ?>
replace with the code you have cut.

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by snoozebtn » Wed Mar 04, 2015 5:42 am

I don't know why I didn't see that. I went ahead and pushed the logo up and replaced the check out text with the cart button than made the navigation bar transparent...looks a lot cleaner now. http://www.mobiusapparel.com

New member

Posts

Joined
Thu May 20, 2010 12:36 am

Post by viethemes » Wed Mar 04, 2015 9:16 pm

snoozebtn wrote:I don't know why I didn't see that. I went ahead and pushed the logo up and replaced the check out text with the cart button than made the navigation bar transparent...looks a lot cleaner now. http://www.mobiusapparel.com
Glad to hear that the problem is solved :)

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: No registered users and 4 guests