Forums

CSS style not being called (2 posts)

  1. mrkingid
    Member
    Posted 4 years ago #

    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?

  2. Pinoy.ca
    Member
    Posted 4 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic