.currentpage class problems after upgrade to 1.0

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"
Post Reply
sailorarie
New Member
New Member
Posts: 5
Joined: Wed Jun 21, 2006 12:00 pm

.currentpage class problems after upgrade to 1.0

Post by sailorarie »

Hi,

I upgraded today from 0.13 to 1.0 and since then the links to my selected pages are not styled:

For example:

http://liesbeth.mijnlieff.nl/cmsmadesim ... _stichting

I managed to change the background by adding to the nav-vertical stylesheet:

.currentpage {
  background-color: #18507C;
}

However:

.currentpage {
  color: #18507C;
}

doesnt work.

I worked fine with version 0.13. Anyone an idea ?

Thank you very much for any help
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: .currentpage class problems after upgrade to 1.0

Post by tsw »

change to css menu template and change .currentpage to .activepage (iirc)


or change .currentpage to h3 {...}
juicyfruit

Re: .currentpage class problems after upgrade to 1.0

Post by juicyfruit »

Hi,

hope someone can help.

I am using cmsmadesimple 1.1.2.

I am have trouble changes the color for

I can not find it anyway.

In the stylesheet "Navigation: CSSMenu - Vertical"

I have added

Code: Select all


#menu_vert li a.currentpage {
   color: #FFFFFF;
   background-color: #844900; 
}



.currentpage {
   color: #FFFFFF;
   background-color: #844900; 
}

.h3 {
   color: #FFFFFF;
   background-color: #844900; 
}

but no changes have been detected.

Any advice is appreciated.

cheers
Eddie
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: .currentpage class problems after upgrade to 1.0

Post by Dr.CSS »

Look thru the rendered page code to see if you have a class="currentpage" in the menu ul li...

If you do you may have to check your CSS for one that calls it, if it does you may not be able to change it with another call in another CSS so you would change the existing one, also you may need to add the li call to it...

li.currentpage...
Post Reply

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