Zen Cart Logo
Forums / Addon Templates / Header in Bluecart Template

Header in Bluecart Template

Views: 2,675

Results 1 to 10 of 10
31 Jan 2011, 8:09 AM
#1
dbjsi83474 avatar

dbjsi83474

New Zenner

Join Date:
Jan 2011
Posts:
42
Plugin Contributions:
0

Header in Bluecart Template

I have just installed zc and then the bluecart template.

I have replaced the header logo but I am having trouble with the default image for the bluecart template that is positioned to the right in the banner.

I removed it and replaced it with a second logo but the logo is sitting towards the middle and not on the right hand side where i want it.

I looked through the header.php and the css file but can not find the place to adjust it.

These seem to be the reference in the header.php

define('HEADER_AD_IMAGE','Logo_ssf.jpg');
define('HEADER_AD_TEXT','my text');

So I thought I would find the setting in my css file here

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}
#logo{
width:300px;
overflow:hidden;
float:left;

}
#logo img{

}
#taglineWrapper{
float:right;
width:495px;
margin-right:20px;
margin-top:20px;
}

But I do not see any reference to it.

31 Jan 2011, 11:23 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Header in Bluecart Template

Since most of us don't use that template, we'll need a link to the site.

31 Jan 2011, 11:59 AM
#3
dbjsi83474 avatar

dbjsi83474

New Zenner

Join Date:
Jan 2011
Posts:
42
Plugin Contributions:
0

Re: Header in Bluecart Template

Hi
I have PM the URL to you. The site is wide open at the moment and would prefer not to post the URL here if possible

31 Jan 2011, 12:27 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Header in Bluecart Template

Since that image is inside #tagLineWrapper, try text-align:right; rather than (or in addition to) float:right; in that rule.

31 Jan 2011, 2:27 PM
#5
dbjsi83474 avatar

dbjsi83474

New Zenner

Join Date:
Jan 2011
Posts:
42
Plugin Contributions:
0

Re: Header in Bluecart Template

Thanks for your response.

I tried in addition to but that seemed to have no effect. When I removed the float:right then the image moved to the next line.

Is it anything to do with the size in the taglinewrapper?

What is the second #logo for?

#logo{
width:300px;
overflow:hidden;
float:left;

}
#logo img{

}
#taglineWrapper{
text-align:right;
width:495px;
margin-right:20px;
margin-top:20px;

31 Jan 2011, 3:15 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Header in Bluecart Template

Could be I don't understand what you're trying to do, but when I remove the width:495px; from #tagLineWrapper and leave the **text-align:right;, **the SSF image moves over to the right side of #logoWrapper.

31 Jan 2011, 4:35 PM
#7
dbjsi83474 avatar

dbjsi83474

New Zenner

Join Date:
Jan 2011
Posts:
42
Plugin Contributions:
0

Re: Header in Bluecart Template

Thanks so much! That is exactly what I was trying to do.

How can I put another image/text in between the two logos?

1 Feb 2011, 10:26 AM
#8
vinnie09 avatar

vinnie09

New Zenner

Join Date:
Feb 2011
Posts:
1
Plugin Contributions:
0

Re: Header in Bluecart Template

Hi
I'm having the same kind of question i have the same template but want that logo to disapear from my header i don't need it

hope someone can help me out

Gr Mart

1 Feb 2011, 11:10 AM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Header in Bluecart Template

You can remove it from tpl_header.php, or just add display:none; to the #logo rule in the stylesheet.

4 Feb 2011, 7:59 AM
#10
dbjsi83474 avatar

dbjsi83474

New Zenner

Join Date:
Jan 2011
Posts:
42
Plugin Contributions:
0

Re: Header in Bluecart Template

stevesh:

Could be I don't understand what you're trying to do, but when I remove the width:495px; from #tagLineWrapper and leave the **text-align:right;, **the SSF image moves over to the right side of #logoWrapper.

Thanks again for your help.

How would I put another image or text or image of text inbetween the left and right logo?

Would I copy the #logo to #logo2 and into the header.php and the css? Then set it to float:centre

Your knowledge would be very appreciated for this procedure.