• I changed the post titles of my wordpress blog to H1. I added code the style.css file, but there is no change in the appearance, the css code doesn’t seem to have any affect! Has anyone any suggestions for this? Its driving me crazy!

    Single post code:

    <?php while (have_posts()) : the_post(); ?>
    		<div class="post" id="post-<?php the_ID(); ?>">
    			<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to'); ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>

    Style.css code:

    post.h1 { font:1.7em/150% helvetica,"trebuchet ms",arial,tahoma,verdana,sans-serif; color:#333; border-bottom:1px solid #ddd; font-weight:normal; }

    The blog is at https://www.livewithoutwork.com

    Thanks for any help at all!

Viewing 3 replies - 1 through 3 (of 3 total)
  • have you looked at the stylesheet, for other things that might be affecting h2 tags?

    Had you, you might have seen this, at the top?

    html,body,div,span,applet,object,iframe,
    h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,
    acronym,address,big,cite,code,del,dfn,em,
    font,img,ins,kbd,q,s,samp,small,strike,
    strong,sub,sup,tt,var,b,u,i,center,dl,dt,
    dd,ol,ul,li,fieldset,form,label,legend,
    table,caption,tbody,tfoot,thead,tr,th,td { background:transparent; border:0; font-size:100%; margin:0; outline:0; padding:0; vertical-align:baseline; }

    try removing the h2

    Thread Starter pauldickinson

    (@pauldickinson)

    Hi,

    thanks for the help, but still hasn’t worked, the style changed on the homepage, but it wasn’t to the settings I have in the style sheet, and it didn’t change on the post page!

    post.h1 is wrong! it should be .post h1.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can anyone see whats wrong here?’ is closed to new replies.