WordPress.org

Ready to get started?Download WordPress

Forums

Have I broken the loop? (5 posts)

  1. neverenoughnotes
    Member
    Posted 2 years ago #

    Argh!
    I can't post a link as website isn't live but my posts are inside each other. I edited my CSS so each part has a coloured border, enabling me to work out issues but each post is indented after the one before it.

    After each metadata/post excerpt end on my index page, the next post is slightly indented. I've tried using old CSS I saved a few days ago and same with the php but I cannot seem to repair it.

    Here is my CSS:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    And here is my index.php

    [Code moderated as per the Forum Rules. Please use the pastebin]

    This is a theme I am building from scratch FYI. Can anyone help?

  2. neverenoughnotes
    Member
    Posted 2 years ago #

    AND my sidebar will not behave. Could this be textwidget playing up?

  3. alchymyth
    Forum Moderator
    Posted 2 years ago #

    This is a theme I am building from scratch

    there is likely to be a problem with an unclosed div in the loop;

    try to work with the http://validator.w3.org/ to get indications of what might be wrong;

    getting used to work with the Firebug add-on Firebug http://getfirebug.com/ to identify the involved html and css might also help.

    when you try to build your own theme, you need quite a good understanding of html and css before you start;

    it is beyond the scope of this WordPress forum to teach these basics.

  4. neverenoughnotes
    Member
    Posted 2 years ago #

    I am aware of these, and understand them, I just seem to have missed something...already checked it with that (I swear by it)...there's nothing wrong with me learning here though.

    I saved some old CSS and used that, to start over.

  5. alchymyth
    Forum Moderator
    Posted 2 years ago #

    does the site's html validate?

    if not, and if you would like someone to double-check the validation results, please post a link to your site.

    and consider to re-post the codes, following the forum guidelines.

Topic Closed

This topic has been closed to new replies.

About this Topic