Changing Wordpress post title sizes
Not sure where else this would be relevant, so here goes.
I'm wanting to create a "news" type front page to my blog, with different sized post titles.
Essentially, on the home page I only want to display the last 3 blog entries, with the most recent having the larger title.
How would I go about doing this, as all of the post titles are h2 I believe? Does anyone know?
When you say "this", do you mean restricting the number of blog posts displayed, or changing the font size?
Originally Posted by mattwm
To restrict the number of posts displayed to 3, you could edit the PHP code of the page for that section.
To change the size of the most recent post, you would have to edit the CSS style sheet. Perhaps create a special style for that particular element, and then on the PHP page that contains that element, wrap it in the new style you just created.
On Wordpress, you can easily show how many posts you want to show on home page.
When you login in Wordpress control panel (dash board), you can see the option under reading, it may be under setting.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)