• mrkingid

    (@mrkingid)


    Hi,

    I need some fresh eyes on this.

    in My theme style I have an id that looks like this:

    code
    #workdetailpages-text {

    width: 800px;
    font-size: 9pt;
    font-weight: normal;
    line-spacing: 10pt;
    color: #505050;
    margin: 0px auto 0px;
    text-align: left;
    float: left;
    position: relative;

    }
    code

    Now in one of my custom templates I use it like this:

    code
    <div id=”workdetailpages-text”>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php the_content();?>
    <?php endwhile; else: ?><?php endif; ?>
    </div>
    code

    However, none of the text is displayed in 9pt. It is much bigger.

    Anyone know why that id is not being used properly?

Viewing 1 replies (of 1 total)
  • pinoyca

    (@pinoyca)

    Are all the other CSS properties of workdetailpages-text followed, i.e., if you changed the color does it change?

    Are there no other html tags between the_content() and the div?

Viewing 1 replies (of 1 total)

The topic ‘CSS style not being called’ is closed to new replies.