Post by Donce » Thu Nov 19, 2009 11:39 pm

Hi,

i would like to add some text on the logo in header, whick i could change through css, padding, alignment, font and other..

New member

Posts

Joined
Fri Aug 28, 2009 8:22 pm

Post by Donce » Fri Nov 20, 2009 1:46 am

someone, please..

New member

Posts

Joined
Fri Aug 28, 2009 8:22 pm

Post by Qphoria » Fri Nov 20, 2009 3:33 am

edit header.tpl file and find:

<div class="div2"><a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $store; ?>" alt="<?php echo $store; ?>" /></a></div>

before the closing </div> add

<span class="slogan">Some Test Here</span>

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Donce » Fri Nov 20, 2009 3:53 am

hi Q,

excelent, but how this text made independence from default divs, i would like to position this text, where i want, ant change font, color, etc..

New member

Posts

Joined
Fri Aug 28, 2009 8:22 pm

Post by Qphoria » Fri Nov 20, 2009 4:13 am

class=slogan.. that makes it unique

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Donce » Fri Nov 20, 2009 4:25 am

i have no idea, what this slogan means..

thank you for replying..

New member

Posts

Joined
Fri Aug 28, 2009 8:22 pm

Post by imaginetech » Fri Nov 20, 2009 5:25 pm

What Q say is correct with one exception use id="slogan".

Slogan being a unique identifier in your stylesheet.

From there use aboslute positioning including negative values if need be to place anywhere in the header you want.

Hope that helps.

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by hande » Fri Nov 20, 2009 11:03 pm

Donce wrote:i have no idea, what this slogan means..
Look at CSS.

@ Shop | Work | Blog | Photos | Wallpapers | Twitter


User avatar
New member

Posts

Joined
Tue Nov 17, 2009 5:57 am
Location - Barcelona / Spain

Post by Donce » Sat Nov 21, 2009 3:47 pm

Solved!

thank you for your help everybody!

New member

Posts

Joined
Fri Aug 28, 2009 8:22 pm
Who is online

Users browsing this forum: No registered users and 18 guests