Current User: Guest
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Title over central content area?

Resolved
UserPost

11:30 pm
May 1, 2010


manicolaus

Member

posts 15

 
1

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.

10:37 am
May 2, 2010


Jeremy Clark

Admin

posts 484

 
2

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.

Like Techozoic?
Rate it here or donate securely with PayPal to support my further development of Techozoic.

2:38 pm
May 10, 2010


manicolaus

Member

posts 15

 
3

Post edited 2:40 pm – May 10, 2010 by manicolaus


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.

9:29 am
May 11, 2010


Jeremy Clark

Admin

posts 484

 
4

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.

h3.custom_h3{
…}

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

Like Techozoic?
Rate it here or donate securely with PayPal to support my further development of Techozoic.

9:00 pm
May 11, 2010


manicolaus

Member

posts 15

 
5

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

8:27 am
May 12, 2010


Jeremy Clark

Admin

posts 484

 
6

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

Like Techozoic?
Rate it here or donate securely with PayPal to support my further development of Techozoic.


Reply to Topic:
Title over central content area?

Please include the version number of theme that your asking about. As well as a link to the website where the problem is happening if applicable. Thank you.

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
8 + 11
   


Resolved


About the Jeremy Clark – TechNet.com Forum

Forum Timezone: America/New_York

Most Users Ever Online: 66

Currently Online:
7 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 3
Topics: 359
Posts: 1268

Membership:

There are 307 Members
There have been 120 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

BartC – 107
demoondoggie – 23
Heather – 21
SarahM – 15
mpromp2 – 15
Monica – 15

Recent New Members: livewise, mpromp2, kevin, cbegg50, kismetconsulting, AdminKim