Moving button on Online Consulting theme

If you go into your Admin section, under Appearance > Edit CSS, you will be able to override the CSS of the theme. In order to find out what the class is, you might want to Inspect the control with Google Chrome’s Developer Tools.

Why do I have stray bullet from

wp_list_categories() starts its output with a <li>, so you don’t have to write it yourself. What you get (check your source code) is: <ul> <li> <li class=”categories”><strong>Categories</strong> <ul> <li class=”cat-item cat-item-6″><a href=”http://shs.merms.info/category/article/” title=”View all posts filed under Article”>Article</a></li> <li class=”cat-item cat-item-3″><a href=”http://shs.merms.info/category/awards/” title=”View all posts filed under Awards”>Awards</a></li> <!– More items –> </ul> </li> </li> … Read more

Plugin Development/ Stop CSS clashes.

If you don’t know, and can’t control, the content width, then your Plugin shouldn’t assume any given content width. Also, even though templates may be 960px in total width, the content width will almost assuredly be less than that. If you must apply explicit width to your output, you could try returning the value set … Read more

How to add inline css code with background image in page html code?

cant you just give that link a class? why touch your template files?.. anyhow i see no reason why you can’t to that… the css should work.. The only change i would do when editing a template file is using php to get the folder url (where you image is) like so: <style type=”text/css”> .specialLink … Read more

How to style a specific nav menu item?

To address a specific menu item in your stylesheet you can either use its id attribute (here: li#menu-item-230) or add a CSS class. I like the second option, that is more flexible. Sample code for your theme’s functions.php: add_filter( ‘nav_menu_css_class’, ‘wpse_65375_class_by_title’, 10, 2 ); /** * Make the title a CSS class. * * @wp-hook … Read more

Using page-id-{ID} from body_class() in local dev, versus live staging

You could use slugs instead of IDs. Taken from the Starkers theme (add it to your functions.php): add_filter( ‘body_class’, ‘add_slug_to_body_class’ ); function add_slug_to_body_class( $classes ) { global $post; if( is_home() ) { $key = array_search( ‘blog’, $classes ); if($key > -1) { unset( $classes[$key] ); }; } elseif( is_page() ) { $classes[] = sanitize_html_class( $post->post_name … Read more