• I have changed the title of the posts, to h1 (rather than h2) for SEO reasons, but now need to change the font of the post-title as h1, so that it looks the same as it did when it was h2.

    How do I do this?

    thanks in advance for the info on this 🙂

    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter chris-melchior

    (@chris-melchior)

    I’ve got the font sizes correct now, just not the font color!!

    How do I force the font of the post-title to be black even though it has <h1> tags around it? How do I reduce the spacing before the post-titles, without reducing spacing before the header-text?

    Also, how do I force the font of the blog-info-name in the header to be white even though it has <h2> tags around it?

    Chris-

    I have changed the title of the posts, to h1 (rather than h2) for SEO reasons, but now need to change the font of the post-title as h1, so that it looks the same as it did when it was h2.

    link to your site?

    are you working on the ‘old’ default theme (kubrick default) or on twenty ten?

    not knowing what you have edited, and if the titles also have css ids or css classes, or if some of the titles are linked, it is virtually impossible to give any advice.

    Thread Starter chris-melchior

    (@chris-melchior)

    Thanks for your reply.

    I am using the Kubrick Default Theme.

    My single post code, now calls the header text as follows :-

    [please use the ‘code’ button to mark the code]

    <div id="header" role="banner">
    	<div id="headerimg">
    		<h2><a>/"><?php bloginfo('name'); ?></a></h2>
    		<div class="description"><?php bloginfo('description'); ?></div>
    	</div>

    ___

    and now calls the post title as follows :-

    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    			<h1><?php the_title(); ?></h1>

    ___

    My StyleSheet.css is now as follows :-

    [huge amount of CSS code moderated – please post a link to your site]

    ___

    I’ve now got the font sizes OK, and just need to change the color of the header site-name text to white, and the color of the post title to black, and decrease the spacing before the post title.

    Thanks for any info on this 🙂

    Chris-

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default Theme, where is the font of h1 post-title defined?’ is closed to new replies.