• Resolved merothe

    (@merothe)


    Hi,

    I seem to be unable to make any changes to the format of the page content of my site. Am fairly new to css so imagine it is a simple mistake somewhere!

    Essentially, if I make any changes to #content in my stylesheet it doesn’t change the appearance/style on the site.

    The code in my main index template is below (I am guessing my problem is from here):

    <?php get_header();
    ?>
    <div id="#menu">
    <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
    </div>
    <div id="#menuright">
    <?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
    </div>
    <div id="#content">
    <?php the_content(__('(more...)')); ?>
    </div>

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • <div id="#content">
    <?php the_content(__('(more...)')); ?>
    </div>

    Try getting rid of the hash, so:

    <div id="content">
    <?php the_content(__('(more...)')); ?>
    </div>

    Not sure about <?php the_content(__('(more...)')); ?>

    Shouldn’t it be `<?php the_content(‘More…’); ?>

    `

    <?php the_content(__('(more...)')); ?>” is correct. It is gettexted.

    S.K

    Thread Starter merothe

    (@merothe)

    That fixed that problem – Thanks! I can now change the style of the content.

    Only problem now is that the content is below both the menus instead of between them…

    I have tried

    #content {
    float: left;
    clear: both;}

    with the menus as

    #menu {
    background: #000
    right: 2px;
    width: 200px;
    height: auto;
    float: left;
    text-indent:10px;
    margin: 0 10px 0 0;
    }
    
    #menuright {
    background: #000;
    width: 200px;
    float: right;
    margin: 0 0 0 20px;
    font-style:italic;
    }

    but no luck..any thoughts?

    Maybe

    position:absolute

    for the content…

    Thread Starter merothe

    (@merothe)

    That did it! – thanks

    It then overlapped with the menus but i played around and this works for now

    #content {
    position: absolute;
    width: 390px;
    margin: 0 210px 0 200px;
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘formatting page content’ is closed to new replies.