Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-13 13:01:29

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Image replacement ... help!

I need desperate help to get a working image replacement on a menu (list). Please go to this page to help me out > http://www.redfoxtestdrive.nl/ir/
Thanks in advance!

Offline

#2 2008-03-13 13:54:38

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Image replacement ... help!

try to add

text-indent:-9999px;

to the “#lang li” rule. Then change this selector

#lang li a
{
	...rules...
}

to

#lang li a#home_nl
{
	...rules...
}

Offline

#3 2008-03-13 14:41:08

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: Image replacement ... help!

redbot thanks, but it doesn’t work either! The code I use is nearly the same as the example … only #menu = #lang and the image sizes are different … that’s all. It’s really weird!

Last edited by RedFox (2008-03-13 14:55:58)

Offline

#4 2008-03-13 15:27:36

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Image replacement ... help!

1) what browser are you using? your example with my changes works for me in firefox
2) you have to play a little with the css I posted. The important thing is to use the “text-indent:-9999px;” rule and pay attention to your selectors classes & ids
3) sorry I have not much time now to help you but I’m sure you just need to play a little more with it to get it to work

Offline

#5 2008-03-14 09:29:48

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: Image replacement ... help!

redbot I got a good night sleep and solved the problem (typo’s!) by reading this article step by step > http://www.redfoxtestdrive.nl/ir/

Thanks for supporting me!

Offline

Board footer

Powered by FluxBB