Problem with menu colors

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
alarach

Problem with menu colors

Post by alarach »

I install the last version.
I try to modify the menu color.

#menu_vert li.activeparent {
  background-color: #DFFF1A;

It doesn't work.
Any one here knows how to fix it or is a new bug.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Problem with menu colors

Post by calguy1000 »

all of the colours should be set on the Colours stylesheet.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
alarach

Re: Problem with menu colors

Post by alarach »

The problem is in the NarBar.(Nav-Vertical Stylesheet)
I select a RED color for example, to know in what page you are.

My Site is www.copantl.com

I have another website that's work perfect see www.tupais.com
As you can see the green color, everytime you click the menu. 
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Problem with menu colors

Post by calguy1000 »

try:  #menu_vert li.active01 h3, 
      #menu_vert li.active02 h3, and
      #menu_vert li.active01 h3

but I'm just guessing.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
alarach

Re: Problem with menu colors

Post by alarach »

I install the new version and I think that's the problem.
Since I insert the same code from previous version and still the same problem.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Problem with menu colors

Post by calguy1000 »

are you using the menumanager in 0.12? or are you using one of the old menu modules?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
alarach

Re: Problem with menu colors

Post by alarach »

Yes the menumanager 0.12 is install, but I don't know how to program with this program.
I change the menu color in the stylesheet "Nav-Vertical" in other versions work fine.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Problem with menu colors

Post by calguy1000 »

Ah, when using menumanager, as I found out this past week, you need to wrap the menumanager tag with an appropriate div.

i.e.:
{cms_module module=menumanager}

after this, working in Nav-Vertical should do the trick.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
alarach

Re: Problem with menu colors

Post by alarach »

It doesn't work, I still have the same problem.
With version 0.12-beta2 "Fiji", I only edit the "Nav-Vertical" Stylesheet and that's it.

In template area:

        Navigation
        {cms_module module='menumanager' collapse='1'}
     
     


In stylesheet area:
#menu_vert li a:hover {
background-color: #CCCCFF;
}

.current
{
list-style-type: square;
display: inline;
background-color: #abb0b6;
}

#menu_vert li.activeparent {
  background-color: #DFFF1A;
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problem with menu colors

Post by Dr.CSS »

the 1 your having problem with,,
Home

the 1 that works
1: Home

maybe if you change this
#menu_vert li.activeparent {
  background-color: #DFFF1A;

to this
#menu_vert li.currentpage {
  background-color: #DFFF1A;

or maybe becuz you have no 
#menu_vert li a.currentpage {
  background-color: #DFFF1A;

  HTH  mark
Last edited by Dr.CSS on Mon Mar 27, 2006 4:33 pm, edited 1 time in total.
Glenn

Re: Problem with menu colors

Post by Glenn »

I don't know if this is the root of your problem, but it's a problem that I found and was going to post as a new topic before I read your post. Calguy, should I post this elsewhere?

I installed 0.12 last week, then 0.12.1 yesterday on a different site and they both have the same problem:

bulletmenu.tpl uses this code:

Code: Select all

<a href="{$node->url}" class="currentpage">
but the Nav-Vertical stylesheet uses .current

Change one or the other so they match and the current page style will work. Shall I post this in the new feature request area?
alarach

Re: Problem with menu colors

Post by alarach »

Hey, thank you all.

I solve the problem:

In my template I had:
{cms_module module='menumanager' collapse='1'}

Change for this:
{cms_module module='menumanager' template="ellnav-vert.tpl" start_level='1' collapse='1'}

When I modify the "hover color" and the "activeparent color" in "Nar-Vertical  stylesheet" works perfect.

Thanks everybody!
Locked

Return to “CMSMS Core”