Spenden

Right Hand Menu as links- Errors in CSS, SOLVED

1 reply [Last post]
Offline
Joined: 13.09.2011

Hi Markus.

I've found the problem. There is an error in the CSS. The one that causes right menus to be links is as follows(this is the first vistaright block)-

.vistaright a.mainlevel:link, .vistaright a.mainlevel:visited,.vistaright .menu li a:link, .vistaright .menu_menu li a:visited,.vistaright .menu_menu li a:link,.vistaright .menu_menu li a:visited {
color:white;
margin-right:-5px;
text-align:right;
font-size:12px;
display:block;
padding-right:20px;
line-height:34px;
height:42px;
background:url(../images/buttonright_normal.jpg) no-repeat;
background-position:top right;
font-weight:normal;
}

The first .menu_menu should be .menu

Also, further down, I believe the line-

a.vistaleft .sublevel#active_menu:link, .vistaleft a.sublevel#active_menu:......

should be-

.vistaleft a.sublevel#active_menu:link, .vistaleft a.sublevel#active_menu:......

Regards, Sue

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
OLD STUFF
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Hope you can help?

Any time you use any positions in the template other than those on the left, the menu buttons appear as links and the colour is controlled by the CSS script down below.

Can you please help? There is something wrong with template.
I'm really stuck.
Before you click on a link it is white, but after that the menu items become coloured links.

The bit of code that controls the links is-

td {font-size:12px;}
a:link, a:visited, h3, .contentheading,.blog_more div strong {
color:black;
}

If you change the colour "black" to any other, the right hand side menu changes to that colour.

Thanks, Susi.

Offline
Joined: 23.11.2008
sorry for my late

sorry for my late reply...

which joomla version and which of my templates (including vesion) are you using?