Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   "Don't link first level parent items in Page Menu Bar" with WP menus? (http://forum.bytesforall.com/showthread.php?t=15967)

lehacarpenter Nov 14, 2011 07:11 PM

"Don't link first level parent items in Page Menu Bar" with WP menus?
 
Hi, one more question:

Can I still use Ata's "Don't link first level parent items in Page Menu Bar?" = Yes

with the WP menus? I have not been able to get this to work.

Thank you!!

Leha

lmilesw Nov 14, 2011 07:30 PM

That function is not used when using the WordPress menus. To create a top level menu with the WordPress menu just create a custom menu item and put a hashtag (#) in the url field for the menu.

mimi Nov 18, 2011 11:14 PM

Do your hover + selected states in the menu bar behave as they should with WP3 Menu, on Custom Links, or do they all default to "Background color: Hover" ?

I am talking about Custom Links and Sub pages of course. It seems there is a styling issue.

mimi Nov 19, 2011 04:29 AM

Might be easier to explain the problem with a link.

juggledad Nov 19, 2011 04:34 AM

If you are using a custom wordpress menu, not all the Atahualpa menu settings may work. You are responsible for the styling yourself.

mimi Nov 19, 2011 04:52 AM

Quote:

Originally Posted by juggledad (Post 76162)
If you are using a custom wordpress menu, not all the Atahualpa menu settings may work. You are responsible for the styling yourself.

I am not sure if we understood each over, I am NOT using a "custom wordpress menu".

I am using the built in word press menu. It's built into WordPress.

Can you help?

juggledad Nov 19, 2011 05:29 AM

Wordpress Custom menu = dashboard->appearances->menu

mimi Nov 19, 2011 05:37 AM

Quote:

Originally Posted by juggledad (Post 76165)
Wordpress Custom menu = dashboard->appearances->menu

Been there already... it's pretty straight forward. As mentioned already, the problem is well explained over here.

I having googling since yesterday, and there isn't much help out there.

I have just read this article, which seem to be the "solution", but it's too advanced for me.

mimi Nov 19, 2011 05:41 AM

That looks good too!

mimi Nov 19, 2011 06:37 AM

Been reading a bit more, I am trying the following code:

Code:

#menu1 .current-menu-item {
background:white !important;
}
#menu1 .current-menu-item li a:first-child {
color:green !important;
}
#menu1 .current-menu-item a {
color:red !important;
}

The "background:white" doesn't do anything (not too worry about this one, as it takes the colors from ATA's setting).

The "color:green" affects ALL the sub pages/first-child if when the parent if selected (as before/no good).

The "color:red" works as advertised.

I have to say that this problem is present, wether you are using a Custom Link or not.

So it should be looked into, because it makes the WordPress Menus pretty much useless as is stands.
Try it for yourself and you will see what I mean.


One option at the minute, is to have the selected background state the same as normal state, to make it look less ugly/weird, and using different font colors on different states, but it will still affect the "parent" menu and child when selected.

mimi Nov 19, 2011 07:40 AM

I have moved one, although I don't know what I am doing, I came up with a way to get the text color to "work", with the following code:

Code:

#menu1 .current-menu-item li a:first-child {
color:white !important;
}

#menu1 .current-menu-item li a:hover {
color:green !important;
}

Could not find a way to get the "Background color: Hover" to work.

If someone is interested and wants to join in, here is a post clearly explaining the problem in a few words.

And the following code was suggested, which didn't work, so I altered it and came up with the above line.

Code:

#menu .current-menu-item {
background:white;
}
#menu .current-menu-item li a:first-child {
color:white!important;
}
#menu .current-menu-item a {
color:black !important ;
}

I think you guys/girls should look into it, because soon or later you might want to take advantage of the new WordPress Menu, as it's very flexible and quick to setup. I came to think that not many of you might know how powerful it is.

At least my little tweak gets "some of" the job done. I am not a coder, far from it.

mimi Nov 19, 2011 08:16 AM

Final teak for today (then I go bed...), I got it working!!!, but watch out;
I don't know what I am doing:

Code:

#menu1 .current-menu-item hover {
background: white;
}

#menu1 .current-menu-item li a:first-child {
color: #555555 !important;
}

#menu1 .current-menu-item li a:hover {
color:green !important;
background: white !important;
}


Please amend and/or participate if need be, don't be shy.


All times are GMT -6. The time now is 01:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.