If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Can links sit on top of my logo header?

Can links sit on top of my logo header?

Locked

Started by oneposhshop on 15 May 2007, 5:59 AM · Views: 4,277

Results 21 to 29 of 29
This thread is locked. New replies are disabled.
17 May 2007, 6:17 AM
#21
oneposhshop avatar

oneposhshop

New Zenner

Join Date:
Apr 2007
Posts:
53
Plugin Contributions:
0

Can links sit on top of my logo header?

gjh42:

My suggestion was for it as a placeholder inside the logo link.

How do I place it in the logo link, I'm missing something?

17 May 2007, 6:40 AM
#22
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Can links sit on top of my logo header?

Since the logo is not in use as such now, you could really just dispense with it altogether. There might be some search engine benefit to having a "logo", but I really don't know about that.

17 May 2007, 6:42 AM
#23
oneposhshop avatar

oneposhshop

New Zenner

Join Date:
Apr 2007
Posts:
53
Plugin Contributions:
0

Re: Can links sit on top of my logo header?

Oh, now I get what you meant. Anyway, is there a way that I could make that center circle of the logo link back to the home page?

17 May 2007, 7:11 AM
#24
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Can links sit on top of my logo header?

That's what I was going to suggest originally. You already have Home links two places in your header, plus the breadcrumb Home link; but it is kind of expected for the logo to be a home link even if it's unnecessary.

You can give #logo an absolute position like the other links, and give #logo a img { } a width and height (rectangle/square only).

You may still have somewhere in your image folders pixel_trans.gif; if not, make a 1x1 transparent gif and save it to your template image folder as logo.gif, and use that for the link image with an alt tag. In case you have lost the accessories for that, here is a copy for you to customize: ```php

<div id="logo"><a href="http://www.futurelics.com/shop/"><img src="includes/templates/fr_template/images/logo.gif" alt="Powered by Zen Cart :: The Art of E-Commerce" title=" Powered by Zen Cart :: The Art of E-Commerce " width="190" height="127" /></a></div> ```
17 May 2007, 10:22 PM
#25
hereliesboots avatar

hereliesboots

New Zenner

Join Date:
Mar 2007
Posts:
34
Plugin Contributions:
0

Re: Can links sit on top of my logo header?

Hi Glen, i was wondering if you could help me with my banner problem. I would like to not only adjust the size of the header image but i would like to get rid of the white spaces under and above it. Also, i would like to get rid of white spaces between my categories and info etc.

thanks!!!
Ive been trying to do it all week and i cant seem to figure it out.
And i am afraid to post a new post about this since you seem to have a firm grasp on the whole concept.

erika

Erika
my site in progress: http:// www.hereliesboots.com/catalog
[email protected]

18 May 2007, 12:03 AM
#26
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Can links sit on top of my logo header?

I'll be happy to help, but I have other work I need to finish tonight. I'll take a look tomorrow if somebody else doesn't get to it first.

18 May 2007, 12:43 AM
#27
oneposhshop avatar

oneposhshop

New Zenner

Join Date:
Apr 2007
Posts:
53
Plugin Contributions:
0

Re: Can links sit on top of my logo header?

As always, thanks a bunch Glenn!

19 May 2007, 3:44 AM
#28
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Can links sit on top of my logo header?

Erika,

Your first issue is that you have two stylesheets, stylesheet.css and stylesheet2.css, both apparently full stylesheets. Stylesheet2 is loaded after stylesheet, so overrides anything that is duplicated. Try renaming stylesheet.css to stylesheet.bak and see if anything in your shop changes. If not, you can get rid of it.

I can't see the height of your logo image as it is in the background, but you have logoWrapper specified as 125px high. Change that and it will tighten up.

There are errors in your body declaration that prevent it from displaying as intended:```php
body {
font-family: Georgia, helvetica, verdana, sans-serif;
font-size: 70%;
color: #000000;
background-color: #ffffff;
width : 780;
margin-top : 0;
margin: 30 ;
background-image: ../heart5.gif;
}


```php
body {
	font-family: Georgia, helvetica, verdana, sans-serif;
	font-size: 70%;
	color: #000000;
	background-color: #ffffff;
	width : 780px; //<---------add px
	margin: 30px ;	//<---------add px
	margin-top : 0; //<---------put this after margin: or it won't work
	background-image: url(../heart5.gif); //<---------add url( )
}
``` Unfortunately I can't see the effect of editing the background-image in Edit CSS, but this should work for you.

The sidebox spacing will be helped by changing margin-top: and eliminating border: and border-bottom: in .leftBoxContainer. Also look at .leftBoxContents (sp?).

A number of custom elements are tables with no tags that CSS can use effectively, and only one of them has any reason for being a table (links below the header). But they work so there is no particular need to change them.
I saw you talking about your site designer, but they did at least document their work well, even if they did scrap some stock functions and put in inefficient tables where divs would have been cleaner and easier to restyle.
21 May 2007, 10:57 PM
#29
hereliesboots avatar

hereliesboots

New Zenner

Join Date:
Mar 2007
Posts:
34
Plugin Contributions:
0

Re: Can links sit on top of my logo header?

Thank you i am going to work on these changes tonight!!! You are a genius !! You have no idea how you just made my day :)

Erika
my site in progress: http:// www.hereliesboots.com/catalog
[email protected]