Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2965

    I need to reduce the type size of the titles in my portfolio pages. Where do I do this in the css?

    #40065

    Hey,

    open up style.css and search for following code:

    h1{clear:both; font-size:42px; font-weight:normal;}
    h2{font-size:38px; clear:both; font-weight:normal;}
    h3, legend{font-size:28px; clear:both;}
    h4{font-size:24px; clear:both;}
    h5{font-size:22px; clear:both;}
    h6{font-size:18px; clear:both;}

    Change the font size for h1 – h6 as you like (i.e portfoliio headlines are h3 headings)

    #40066

    Great Thanks. Now how do I delete the link on the titles?

    #40067

    To remove the link for the portfolio items open up template_portfolio.php and replace following code:

    echo "<h3 class='name_sort'><a href='".get_permalink()."' title='".get_the_title()."'>".get_the_title()."</a></h3>";

    with:

    echo "<h3 class='name_sort'>".get_the_title()."</h3>";

    If you want to remove the link on pages or posts open up single.php, page.php, template_fullwidth.php and search for:

    <h1 class="siteheading">
    <a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:','avisio')?> <?php the_title(); ?>"><?php the_title(); ?>
    </a>
    </h1>

    Replace it with:

    <h1 class="siteheading"><?php the_title(); ?></h1>

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

The topic ‘post title size’ is closed to new replies.