[wp-docs] WordPress-Generated CSS Classes for Menus (Chip Bennett)
Chip Bennett
chip at chipbennett.net
Wed Apr 18 16:42:16 UTC 2012
Tom,
I'm conflicted regarding adding basic CSS/HTML markup examples to the
Codex. Once one knows the classes that are applied to the HTML LI tags,
using those tags for CSS styling should be fairly trivial. Do we do this
elsewhere in the Codex?
If need be, we can add examples from Twenty Eleven's style.css...
Chip
On Wed, Apr 18, 2012 at 11:27 AM, Tom Auger (personal) <
tomaugerdotcom at yahoo.ca> wrote:
> Chip, that's awesome stuff, and a very valuable reference for beginners.
> With that in mind, I think it would be very beneficial to provide some
> little CSS examples to illustrate common use cases, for instance:
>
> - how to highlight the menu item of the current page that you're on
> - how to highlight the parent of the current menu item, when in a pull-down
> (hierarchical) context
> - how to colour menu items differently depending on post type
>
> Tom
>
> _______________________________________________
> wp-docs mailing list
> wp-docs at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-docs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-docs/attachments/20120418/cbbaeaf1/attachment.htm>
More information about the wp-docs
mailing list