Support » Fixing WordPress » formatting page content

  • Resolved merothe



    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 id="#menuright">
    <?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
    <div id="#content">
    <?php the_content(__('(more...)')); ?>


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

    Try getting rid of the hash, so:

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

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

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


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


    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;
    margin: 0 10px 0 0;
    #menuright {
    background: #000;
    width: 200px;
    float: right;
    margin: 0 0 0 20px;

    but no luck..any thoughts?



    for the content…

    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.