www.webdeveloper.com
Results 1 to 3 of 3

Thread: Changing Wordpress post title sizes

  1. #1
    Join Date
    Jul 2009
    Posts
    7

    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?

    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Houston
    Posts
    21
    Quote Originally Posted by mattwm View Post
    . . .
    How would I go about doing this,
    . . .
    When you say "this", do you mean restricting the number of blog posts displayed, or changing the font size?

    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.

  3. #3
    Join Date
    Apr 2013
    Posts
    378
    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.
    Is your website Hacked? Try -> www.sitebeak.com
    Is Google Analytics installed Properly? Test -> www.GAtective.com
    Impersonal Google search? Check -> www.impersonal.me

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles