Community Forums

(SOLVED) Add space between logo and "top"?

Template support & advice for OpenCart v1.x

(SOLVED) Add space between logo and "top"?

Postby johan019 » Thu Apr 12, 2012 11:11 am

Hi!

I dont really know how to add some space between the logo and the top.
I will show you example.

distance.png
distance.png (58.8 KiB) Viewed 329 times


It is so many different margins in stylesheet so I dont know which one to change.

Also, when I remove the OpenCart Copyright at the footer, the "grey box" follows with it leaving just white background. This leaves my payment images split in half. One on black and one one white.

copyrigt.png
copyrigt.png (17.78 KiB) Viewed 329 times


Many many thanks to whoever can help me with this!
Last edited by johan019 on Fri May 04, 2012 7:22 am, edited 1 time in total.
johan019
 
Posts: 34
Joined: Thu Mar 08, 2012 4:52 pm

Re: Add space between logo and "top"?

Postby florinsith » Thu Apr 12, 2012 11:16 am

Edit the catalog/view/theme/yourtheme/stylesheet/stylesheet.css and look at the #header #logo block and add a top property if there isnt allready one, like this : top: 25px; , if there is allready one, just increase the pixels value.

As for the opencart powered, you should remove it in the language file: catalog/language/english/common/footer.php.
User avatar
florinsith
 
Posts: 2694
Joined: Thu May 13, 2010 6:36 pm

Re: Add space between logo and "top"?

Postby johan019 » Thu Apr 12, 2012 12:03 pm

Thank you so much!

For the copyright issue I already tried to delete it from footer.php but then the "grey box" surrounding it also dissappears. Just want to remove the text, not the box. :)

Maybe replace the text with another if it is possible?

Thanks!
johan019
 
Posts: 34
Joined: Thu Mar 08, 2012 4:52 pm

Re: Add space between logo and "top"?

Postby florinsith » Thu Apr 12, 2012 12:28 pm

well, yes in the language file, replace it if you want, or delete it, it shouldnt affect the div display at all. Again, I was talking about the opencart copyright link/text.
User avatar
florinsith
 
Posts: 2694
Joined: Thu May 13, 2010 6:36 pm

Re: Add space between logo and "top"?

Postby johan019 » Thu Apr 12, 2012 1:03 pm

In this template the "footer.tpl" seems to be found in template/common.
Not in the language map.

Here is a code from the footer file if you can point something out.

Code: Select all
<div id="powered">&copy;Copyright 2011. Powered by <a class="blue" href="http://www.opencart.com">OpenCart</a><br /><a class="s_main_color" href="http://themeglobal.com">ThemeGlobal.com - OpenCart Templates Club</a>


When I delete this, the grey box also dissapears.

Sorry if im slightly "slow" :)

Many thanks!
johan019
 
Posts: 34
Joined: Thu Mar 08, 2012 4:52 pm

Re: Add space between logo and "top"?

Postby florinsith » Thu Apr 12, 2012 2:49 pm

Delete this code:
Code: Select all
Powered by <a class="blue" href="http://www.opencart.com">OpenCart</a>
to remove the opencart powered, as for the ThemeGlobal link, contact them to see if youre allowed to do it.
User avatar
florinsith
 
Posts: 2694
Joined: Thu May 13, 2010 6:36 pm


Return to Template Support

Who is online

Users browsing this forum: Goliath and 27 guests

Hosted by Arvixe Web Hosting