If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / where are the controls to center my logo.gif ?

where are the controls to center my logo.gif ?

Locked

Started by rdcast on 7 Mar 2010, 2:09 PM · Views: 2,113

Results 1 to 20 of 24
This thread is locked. New replies are disabled.
7 Mar 2010, 2:09 PM
#1
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

where are the controls to center my logo.gif ?

v1.3.8a

Where is the folder, file and script in that file that controls the main logo(logo.gif) in the header? I can't find it:cry:

I await your thoughtful response.
Thank you

7 Mar 2010, 3:43 PM
#3
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

Shamshop:

Try this

https://www.zen-cart.com/tutorials/index.php?article=125

This tutorial looked promising, but it didn't move the logo.gif. This is what I did:

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {float: left;}

#logo {text-align: center;}

What am I doing wrong?

I await your thoughtful response.
Thank you

7 Mar 2010, 4:52 PM
#5
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

gjh42:

Perhaps

#logoWrapper {text-align: center;}
v1.3.8a

We can give the exact answer if we see your site live.

:no:Shucks, didn't work.

Here's my site: http://astringofpearls.biz/

I await your thoughtful response.
Thank you

7 Mar 2010, 5:37 PM
#6
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

OMGAWD !!!

I was in the wrong file. Sorry, I got a handle on it now and it works !!!!

I await your thoughtful response.
Thank you

7 Mar 2010, 5:41 PM
#7
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

v1.3.8a

Created new problem, now the menu bar lifted up too high. How do I lower it where it was?

http://astringofpearls.biz/

I await your thoughtful response.
Thank you

7 Mar 2010, 5:52 PM
#8
stevesh avatar

stevesh

Black Belt

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

Re: where are the controls to center my logo.gif ?

Remove the height part of #logoWrapper.

7 Mar 2010, 6:08 PM
#9
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

stevesh:

Remove the height part of #logoWrapper.
Excellent. Now I'm having trouble finding the controls to lift the "Information" box. When I lifted the "Categories" sidebox, it helped that the controls used the categories:

#categories{
position:absolute; top:0px;right:640px;
margin: 0 0px 0 0;
margin-top: 1em;

But it doesn't use the same associated wording for the "Information" sidebox controls. What am I looking for??

I await your thoughtful response.
Thank you

7 Mar 2010, 6:35 PM
#10
stevesh avatar

stevesh

Black Belt

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

Re: where are the controls to center my logo.gif ?

You've positioned the left and right sidebox headings, and not the information sidebox.

7 Mar 2010, 6:46 PM
#11
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

stevesh:

You've positioned the left and right sidebox headings, and not the information sidebox.
All I've done is to lift the categories sidebox by placing the script you suggested,

position:absolute;** top:43px;right:217px;

**But I can't find where to put the same script to lift the information sidebox, any further suggestions ?

I await your thoughtful response.
Thank you

7 Mar 2010, 7:01 PM
#12
stevesh avatar

stevesh

Black Belt

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

Re: where are the controls to center my logo.gif ?

The information sidebox is controlled in the stylesheet by (oddly) #information.

You need to install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various sideboxes.

Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. A very handy tool.

7 Mar 2010, 8:39 PM
#13
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

stevesh:

The information sidebox is controlled in the stylesheet by (oddly) #information.

You need to install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various sideboxes.

Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. A very handy tool.
I've used FireFox for years. Tho I did download the extension, I can tell you, I haven't been able to find anything close to #Information.

I await your thoughtful response.
Thank you

7 Mar 2010, 10:17 PM
#14
stevesh avatar

stevesh

Black Belt

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

Re: where are the controls to center my logo.gif ?

It isn't in the stock Zencart template css. Add #information to the stylesheet and style/move it as you wish.

7 Mar 2010, 11:06 PM
#15
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

stevesh:

It isn't in the stock Zencart template css. Add #information to the stylesheet and style/move it as you wish.
Ran into severe problem with that kind of edit. When the size of the window is changed, the sideboxes float out of position.

I await your thoughtful response.
Thank you

23 Mar 2010, 3:37 PM
#16
headz avatar

headz

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

I am trying to do this aswell, I am new to this have managed quite a few things through trail adn error, where abouts do I need to make this alteration

23 Mar 2010, 3:51 PM
#17
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

headz:

I am trying to do this aswell, I am new to this have managed quite a few thitngs through trail adn error, where abouts do I need to make this alteration

http://www.zen-cart.com/forum/showthread.php?t=150915

Welcome aboard headz! If you're talking about placing your logo in the head of your site, then the link above might help.

All the best,
robert

I await your thoughtful response.
Thank you

23 Mar 2010, 7:32 PM
#18
headz avatar

headz

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

Thank you for the link, tried it and has not worked, the link is https://www.headzandhandz.co.uk/shop I am trying to get the logo to move further over to the right

23 Mar 2010, 7:52 PM
#19
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

headz:

Thank you for the link, tried it and has not worked, the link is www.headzandhandz.co.uk/shop I am trying to get the logo to move further over to the right

Don't you just need to center your logo as in the following?

  **<div align="center">

<img src="../includes/templates/your_template/images/your_logo.gif">
</div>
**

I await your thoughtful response.
Thank you

23 Mar 2010, 8:06 PM
#20
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

More specifically:

<div id="logoWrapper"> <div** align="center"** id="logo"><a href="http://www.your_site"><img src="includes/templates/your_template/images/logo.png" alt="Headz and Handz" title=" Headz and Handz " height="93" width="515"></a></div> </div>

I await your thoughtful response.
Thank you