Title over central content area?

Home Forums Techozoic Title over central content area?

This topic contains 5 replies, has 2 voices, and was last updated by  Jeremy Clark 7 years, 9 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
Author Posts
Author Posts
May 1, 2010 at 7:30 pm #899


How can I get a title on top of the central content area (where the blog is)? Each of the sidebar items has its title, but I don’t see a way to get a title on top of the content area. Help would be appreciated.

May 2, 2010 at 6:37 am #900

Jeremy Clark

You’ll have to edit the index.php file and look for this code

<?php if (have_posts()) {
while (have_posts()) {

You can place your text right above that and it will display on the home page above the main content.

May 10, 2010 at 10:38 am #901


Thank you! That worked.
Sorry to be such a ditz about theming, but how do I now format this title to be, for example, h3? I tried stuff like

<div class="h3">My title text</div>

but it doesn’t do anything. I can get the text to appear in a box the same style as comment body by writing

<div class="entry h3">My title text</div>

, which is nice, but I can’t get the title text itself to change format.
What book would you recommend for learning to theme in WP, for starters?
Thanks for your care.

May 11, 2010 at 5:29 am #902

Jeremy Clark

Since H3 is a html tag you just wrap the text you’d like to be H3 in the tags.

<h3>My Title Text</h3>

And if you wanted to style it you can give it a class like this.

<h3 class="custom_h3">My Title Text</h3>

Then in the CSS you could call it like this.


Or like this.

.custom_h3 {

Really I didn’t read any books just online resources and trial and error. But if you get a couple of web design bookx about CSS and XHTML and then a PHP book the WordPress custom functions are pretty easy to understand and the online docs are very good http://codex.wordpress.org

May 11, 2010 at 5:00 pm #903


That was easy!
Thanks for the lesson. I’ll get it, by and by. 🙂

May 12, 2010 at 4:27 am #904

Jeremy Clark

Glad you got it figured out. I’m always here if you need help.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.