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?
Started by oneposhshop on 15 May 2007, 5:59 AM · Views: 4,277
New Zenner
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?
Black Belt
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.
New Zenner
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?
Black Belt
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> ```New Zenner
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]
Black Belt
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.
New Zenner
As always, thanks a bunch Glenn!
Black Belt
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.
New Zenner
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]
Tell staff why this post should be reviewed.