Viewing 15 replies - 1 through 15 (of 44 total)
  • Thread Starter Disease8

    (@disease8)

    [CSS code moderated – the link to your site is enough to access the stylesheets]

    when you removed the sidebar code from the (index.php ?) template, you may have forgotten to delete a closing </div> which is now too much;

    the section looks like this in the html code:

    <div id="container">
    
    				</div>
    				<div id="content">

    (it might look a bit different in the php file)

    remove this </div> from the section above.

    —-
    to widen the content to the full width, add this to style.css:
    .home #content, .archive #content {width:100%; }

    (if you want to use the search function, you might need to add .search #content { width:100%; } as well.)

    Thread Starter Disease8

    (@disease8)

    Ok I will try this thank you .. I am very noob so its difficult for me..
    Trying now. my client is not very happy that the website is all muddled! lol..

    Thread Starter Disease8

    (@disease8)

    Ok so I am looking in the index.php in the theme folder. It seems to be one of the first things in the code?

    Yeah its fixed it!!
    Thanks mate! ??

    When I click on “background” one of the pages, I get this error:

    “Parse error: syntax error, unexpected ‘)’ in /home/charliel/public_html/wp-content/themes/my-depressive/page.php on line 7”

    I reckon it was when I was going through everything deleting the sidebar..

    Thread Starter Disease8

    (@disease8)

    You are a god, a legend among men, you have saved my bacon twice!

    Thanks soooo much man!

    I went through and found everywhere it said:
    <\div>

    and deleted the code around that. from <div> to <\div>
    as these are where the different commands are right?

    Originaly I followed the post above and just deleted: get_sidebar()

    But I left in the div parts and the content in between.

    Now I just want to centre the text and get rid of categories..

    It looks like some of the php may have been edited incorrectly when removing your sidebar. Could you post the code of your index.php file here so we can see what’s missing?

    Thread Starter Disease8

    (@disease8)

    Damn now on the home page:
    Parse error: syntax error, unexpected ‘}’ in /home/charliel/public_html/wp-content/themes/my-depressive/index.php on line 77

    I wish I knew what I was doing..

    Thread Starter Disease8

    (@disease8)

    Ok I fixed this now I just have the problem of having the categories after every post. I just want the date..

    Thread Starter Disease8

    (@disease8)

    Hi maikunari…
    Thanks but I fixed it… Took out a < with some stuff in between another >..

    looked like it wasnt doing much so removed and now it works again..

    Just want to get it looking like a normal website. With the front page being a blog but not the other pages….

    Respect for your help..

    To show only the date all you need is <?php the_date(); ?>

    Thread Starter Disease8

    (@disease8)

    ok man in the index.php of the theme?

    Thread Starter Disease8

    (@disease8)

    Where should I add this in?

    Depends, are you building this from the default twentyten theme?

    Thread Starter Disease8

    (@disease8)

    nope from my-depressive theme . . .
    Was the closest one to how I wanted it to look so I edited my own banner for it and just been trying to get it to look like a normal website..

    Thread Starter Disease8

    (@disease8)

Viewing 15 replies - 1 through 15 (of 44 total)
  • The topic ‘Removed Sidebar now Content in Wrong Place’ is closed to new replies.