Home Link
Home Link
You know the top of the page, where it has the logo "Planet Catfish" in blue and purple bubble letters? Well, when mousing over the link, it goes purple underneath like all the other links on the pages. This is just a minor bug, that I of course noticed, and could probably be fixed by setting the link's css div, topofpage, to have an a:hover attribute of with !important added on to cancel out the background color change. Just a purely cosmetic fix, but it would be nice.
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Home Link
I will see if I can fix this later on today.
--
Mats
--
Mats
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Home Link
Clearly my understanding of CSS is failing me here, because I can't make it work...
--
Mats
--
Mats
- Martin S
- Posts: 2100
- Joined: 26 Mar 2003, 11:14
- I've donated: $20.00!
- My images: 9
- My cats species list: 90 (i:19, k:0)
- My aquaria list: 11 (i:3)
- Spotted: 17
- Location 1: Guildford, Surrey
- Location 2: UK
- Interests: Aquatics
Re: Home Link
I looked and couldn't make sense of it either! 

- Martin S
- Posts: 2100
- Joined: 26 Mar 2003, 11:14
- I've donated: $20.00!
- My images: 9
- My cats species list: 90 (i:19, k:0)
- My aquaria list: 11 (i:3)
- Spotted: 17
- Location 1: Guildford, Surrey
- Location 2: UK
- Interests: Aquatics
Re: Home Link
Have found a solution for this:
On the link immediately before the image:
Assign a css class:
And in the css file, after the existing a:hover tag, add:
That will fix the banner only, and leave all the other hover over to purple.
As guessing Jools will need to check this over, but am confident it will work.
Martin
On the link immediately before the image:
Code: Select all
<a href="/">
Code: Select all
<a href="/" class=”banner-link”>
Code: Select all
a.banner-link:hover {
background: none repeat scroll 0 0 #000;
color: yellow;
font-weight: bold;
text-decoration: none;
}
As guessing Jools will need to check this over, but am confident it will work.
Martin
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Home Link
Ok, I will see if I can put that into the the relevant style-sheet...
--
Mats
--
Mats
- Jools
- Expert
- Posts: 16277
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:235, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Home Link
That should do it, but it's quite complex to find the right bits. Want me to do it? Also, a generic style (for when we don't want a purple highlight) would be better. E.G. Same thing, just call it no-highlight rather than banner-link? There are a few places it might be used.
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Jools
- Expert
- Posts: 16277
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:235, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Home Link
OK, fixed. A minor change to the html and switched off the log images transparency. Easier fix and every extra character saved in CSS is a good thing.
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.