is showing in the menu

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
Milhaus

  is showing in the menu

Post by Milhaus »

Dear readers,
I have problem when creating menu for my site. It will look somewhat "web 2.0", so I use a lot of stripes there. As you can see at the attached picture, the background of hovered link doesn't fit in background, leaving wrong-looking borders.

I tried to manage it with help of some  s inserted to previous item (in this case to Home tab). It is ugly, but it worked. But in CMSMS, when I use   as part of Menu text, & is & in HTML code.

As an alternative, do you have any idea how to solve this problem nicer?

Thanks in advance,

Milhaus
Attachments
menu_problem.png
Last edited by Milhaus on Wed Sep 19, 2007 5:11 pm, edited 1 time in total.
Milhaus

[solved]   is showing in the menu

Post by Milhaus »

I solved it, so if anyone is interested...

In MenuManager.module.php go to line 219 and change

Code: Select all

my_htmlentities($content->MenuText())
to

Code: Select all

$content->MenuText()
Hope it helps,

Milhaus

BTW. I am still interested in cleaner solution, so if you know, please share it. Thanks.
Locked

Return to “Layout and Design (CSS & HTML)”