Developer forum

Forum » Templates » a.inpath does not work

a.inpath does not work

Martin Nonbo
Reply
Hi.

Can anyone help me with this. I have tried to use a.inpath as always, but nothing happens..
The solution runs on DW8...

CSS:
#header #mainmenu ul li a:link {color:#4e4e4e; text-decoration:none; background-image:none; height:25px; padding-bottom:8px;  }
#header #mainmenu ul li a:visited {color:#4e4e4e; text-decoration:none; background-image:none; height:25px; padding-bottom:8px; }
#header #mainmenu ul li a:hover {color:#9bba1e; text-decoration:none; background-image:url(../Images/mainmenu.png); background-position:bottom center; background-repeat:no-repeat; height:25px; padding-bottom:8px; }
#header #mainmenu ul li a.inpath {color:#9bba1e !important; text-decoration:none; background-image:url(../Images/mainmenu.png) !important; background-position:bottom center !important; background-repeat:no-repeat !important; height:25px !important; padding-bottom:8px !important; }
#header #mainmenu ul li a:active {color:#9bba1e; text-decoration:none; background-image:url(../Images/mainmenu.png); background-position:bottom center; background-repeat:no-repeat; height:25px; padding-bottom:8px; }

Hope someone can help me?

Kind regards
Martin

Replies

 
Regin Madsen
Reply
This post has been marked as an answer
Hi Martin,

You may already have done the below, but I would check the following:

1) Are you sure the css match the html.
2) This may be too obvious, but have you had a look in the sourcecode if the inpath is there, and if its on the a tag.
3) Have a look in your xslt file to see if its correct and output inpath.
4) Finally you can add savexml=true to the URL, to get the xml output to see if inpath is in the node you expect.

/regin

Votes for this answer: 0
 
Martin Nonbo
Reply
 Hej Regin.

Thank you for your help! It was my xslt-file which did not output inpath correctly!

It works great now.

Thank!

 

You must be logged in to post in the forum