Modification to Recent Blog Post

Discussion in 'Nutrition WordPress Theme' started by dbhenry, Oct 21, 2012.

Thread Status:
Not open for further replies.
  1. dbhenry

    dbhenry New Member

    Joined:
    Apr 17, 2012
    Messages:
    8
    Likes Received:
    0
    Is there a way to increase the font size of the title (that appears in blue) in the Recent Blog Post column (on the 3 col). I've had pretty good luck with all my other modifications (like increasing the number of posts being displayed there, so that the column is visually as long as the other two columns), but can't figure out the title thing.

    Thanks!
     
  2. Harmeet

    Harmeet Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    360
    Likes Received:
    15
    Hello,
    Put the following code in custom css

    Appearance -> theme options -> styling options -> custom css

    Code:
    .post .post_title {
    font-size: 36px;
    }
    This will increase the size of the font. And you can adjust the value of the font size according to your requirement.

    Thanks.
     
  3. dbhenry

    dbhenry New Member

    Joined:
    Apr 17, 2012
    Messages:
    8
    Likes Received:
    0
    Thanks for the help -- but it doesn't seem to work. I already made some modifications to the column (changed the header title) so I'll go back and make sure it's not because of something I did. But I just want to make sure that I properly communicated the title I'm talking about, so I'll include an image: support.jpg

    Thanks again!
     
  4. dbhenry

    dbhenry New Member

    Joined:
    Apr 17, 2012
    Messages:
    8
    Likes Received:
    0
    I don't see where I would have caused a problem. I am able to affect the title attributes by changing the Header type -- but it ignores the font size and keeps it small. Here's where I am attempting the change it (in front-page.php):

    PHP:
    <div class="blog_info">
    <h2>Latest Yoga Articles</h2>
    <?php query_posts(array('posts_per_page' => 4'order' => 'DESC')); ?>
    <?php 
    while (have_posts()) : the_post(); ?>
    <div class="blog_post"><h4 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h4>
    Any thoughts would be appreciated!
     
  5. dbhenry

    dbhenry New Member

    Joined:
    Apr 17, 2012
    Messages:
    8
    Likes Received:
    0
    Hi again, Harmeet! I tried removing all my custom CSS and then adding the code you gave me above, and it worked perfectly. I'll just start adding the other code a line at a time to figure out where the conflict is. Thanks again!
     
Thread Status:
Not open for further replies.

Share This Page