Equal height sections in custom Headway Theme

We can do this without touching theme files either by using a child theme or Writing a Custom Plugin, To include only css I’d use plugin rather than a child theme. Example – <?php /* Plugin Name: My Styles Description: My Custom Styles for THEME-NAME */ //Create a `my-style.css` in plugin folder add_action( ‘wp_enqueue_scripts’, ‘wpse64258_custom_styles’ … Read more

how would I change background color of a theme using a plugin?

If the theme uses the custom-background functionality of WordPress, then WordPress outputs CSS code in the head which essentially says body.custom-background { … } and it puts the chosen colors and image in there. So most themes sorta expect that to be on the body itself, and to have a custom-background class on the body … Read more

customize continue reading

the css class .meta-nav might or might not be referenced in style.css or any other stylesheet of the theme. if your theme is Twenty Ten then the css class is not used in style.css – add it as a new style if you need.

displaying the categories post

That happens because the_content() contains already an echo. PHP tries to create the string before it sends it to the echo command. While the string is evaluated the content will be printed already. Then echo gets what was not yet printed: the li tags. So the simple fix is: echo ‘<li>’; the_content(); echo ‘</li>’;

Event Organiser breaks the theme [closed]

Your events page has: <div id=”primary”> <div id=”content” role=”main”> <article id=”post-4765″ class=”post-4765 event type-event status-publish hentry”> <header class=”entry-header”> Your home page has: <div class=”container_6″> <div id=”main” class=”site-main clearfix”> <div id=”primary” class=”content-area grid_4″> <div id=”content” class=”site-content” role=”main”> <article id=”post-4684″ class=”post-4684 post type-post status-publish format-standard hentry category-discus tag-robert-harting”> <header class=”entry-header”> To get consistent formatting you need consistent … Read more

Controlling sub-menu within sub-menu

Yes, you can easily control just using css. Complete guide about wp nav menu on wordpress codex. And my fast solution for this: functions.php add_theme_support(‘menus’); // Menus Support register_nav_menus(array(‘main_menu’ =>’Main Menu’)); // Main Menu of Website header.php <nav id=”menu”> <?php wp_nav_menu(array(‘theme_location’=>’main_menu’)); ?> <div class=”clear”></div> </nav> style.css /* Clearfix */ .clear {clear:both} /* First Level */ … Read more

Styling Contact Form 7 fields [closed]

I din’t try it, but have a try yourself: Contact Form 7 uses something like this: <p>Your Name (required)<br /> [text* your-name] </p> Instead of using paragraph tag (<p>) use span (<span>), and some inline CSS, like: <span style=”width: 48%; float: left; position: relative;”>Your Name (required)<br /> [text* your-name] </span> <span style=”width: 48%; float: left; … Read more