I need to reduce the type size of the titles in my portfolio pages. Where do I do this in the css?
post title size
4 posts from 2 voices-
Posted 2 years ago #
-
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)
Posted 2 years ago # -
Great Thanks. Now how do I delete the link on the titles?
Posted 2 years ago # -
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>Posted 2 years ago #
Reply
You must log in to post.














