Page 1 of 1

Opencart 1.5

Posted: Thu Oct 12, 2017 3:38 am
by luzolo
Hi there, I am pretty new in using opencart 1.5, and I wondering how can I center my logo and remove some items like the footer, and how can I resize my slide picture, so it'll fill up all space left by the footer.

Re: Opencart 1.5

Posted: Thu Oct 12, 2017 10:20 pm
by luzolo
any help ?

Re: Opencart 1.5

Posted: Fri Oct 13, 2017 1:17 am
by IP_CAM
Well, this may not as easy as you expect it to be, you need to understand CSS,
then, you could try to re-align the Theme header.tpl file, codewise, to have the logo,
as you plan, and other 'placements' in a matching order again.
This is the default css style setting for the header logo:

Code: Select all

#header #logo {
	position: absolute;
	top: 25px;
	left: 15px;
}
and this is the Default OC 1.5.6.x Theme header.tpl Section, where it all happen:

Code: Select all

<div id="container">
<div id="header">
  <?php if ($logo) { ?>
  <div id="logo"><a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a></div>
  <?php } ?>
  <?php echo $language; ?>
  <?php echo $currency; ?>
  <?php echo $cart; ?>
  <div id="search">
    <div class="button-search"></div>
    <input type="text" name="search" placeholder="<?php echo $text_search; ?>" value="<?php echo $search; ?>" />
  </div>
But if you don't know, what this all means, you better get Dev-Support, OC is all about
generating Income, and a Custom Job like this does usually not come for free, if something takes
more than just a few moments, to be replied to. As I mentioned, OC means business, for eveybody
involved!
And since you did not mention exactly the OC Version you use, and/or even a Custom Theme,
such likely even discourages others from replying at all... :choke:

Good Luck!
Ernie

Re: Opencart 1.5

Posted: Sun Oct 15, 2017 2:59 am
by luzolo
Sorry Ernie for lack of details, I am using Version 1.5.6.4 and the default template. I am familiar with css style and php, but I am not familiar with .tpl.

I have tried to change both the css style and the template to move my logo in the midle but nothing is working, that why I thought I could get some advices in the forum. I think that why we are in this a forum, to share idea and good practices.

Re: Opencart 1.5

Posted: Sun Oct 15, 2017 4:01 am
by IP_CAM
I think that why we are in this a forum, to share idea and good practices.

well, you better read here about this, to keep me from repeating it once more,
to get a little more familiar with this Place, it's Purpose, and it's Users:
viewtopic.php?f=20&t=189407#p689812
---
But if you are familiar with css style and php, you'll have no problem, to
move your Content in the theme header.tpl File as you like.

And some good information on OC can be found here:
http://forum.opencart.com/viewtopic.php ... 30#p506130

Good Luck, nothing personal, but better take it, as it comes, for free, and with no obligations ! ;)
Ernie