Styling issue with custom menus and sub menus

You can try using the .current-menu-item li a”first-child selector. Here is an example I’ve used in the past to highlight the current menu item only: #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 ; } You will need to change the #menu to your id … Read more

How do I override all stylesheets and scripts without a plugin

WordPress plugins usually enqueue’s their stylesheets and js files using wp_enqueue_style and wp_enqueue_script functions. You can dequeue script / dequeue style the scripts/styles if you don’t want them in your theme. These css/js files usually loads with wp_head() action, which usually resides in your header.php in the theme

Custom menu styling

I think you can use the text-indent for this level, but you must set the text-indent for all a -tags of the class sub-menu also set to 0, not -999px. Example: #menu-main-navigation .link-experience a { display: block; height: 63px; width: 167px; text-indent: -999px; } .sub-menu a { text-indent: 0px !important; }

WordPress Child Theme – twentyeleven

your @import doesn’t look malformed. this is what i have on a live site that is running a twenty eleven child theme. /* Theme Name: A Twenty Eleven Child Theme Description: my child theme Author: helgatheviking Template: twentyeleven Version: 1.0 */ /* Reset browser defaults */ @import url(‘../twentyeleven/style.css’); so assuming that twentyeleven is in the … Read more

How to get sub-categories to display same look as there parents

If you have a single level of subcategories under your main categories, you can just do this: $category = get_category( $cat ); if( $category->category_parent ): $parent = get_cat_name( $category->category_parent ); echo ‘<h1>’ . $parent . ‘</h1>’; else: echo ‘<h1>’ . $category->cat_name . ‘</h1>’; endif;

Customizing WP-syntax to get custom colors

Plugin documentation instructs to copy style file to theme’s directory, rather than edit it in place (which would make it incompatbile with updates and such). Other than that this seems like CSS issue and has little to do with WordPress. Some time with Firebug+Firefox or other debug tool usually solves such.

Common page width? [closed]

A width of 950-960px should be ok for most screen resolutions. Css Frameworks/Libraries like blueprint, 960gs, etc. use the same width.