WordPress.org

Ready to get started?Download WordPress

Forums

Single.php and page.php (6 posts)

  1. Ciwan86
    Member
    Posted 4 years ago #

    Hi Guys

    For the site I'm working on, I've coded the Single page but in HTML (without any php), then I went ahead and added in the php stuff.

    The Problem is the Post Page isn't showing as I would like it to :( Notice the Comments/Responses area ! It has no styling ! Where as in the HTML file it looked good with the styling ! What am I doing wrong ? I'd greatly appreciate any help.

    Thank You.

  2. Ciwan86
    Member
    Posted 4 years ago #

    Also the footer has gotten smaller ! I don't know why ! :(

  3. Ciwan86
    Member
    Posted 4 years ago #

    Someone , Anyone ? ... please :(

    I'd greatly appreciate links to as solution as well !

  4. Matt987
    Member
    Posted 4 years ago #

    The elements and divs in your WordPress one are different than the elements and divs in your plain html page. You need to edit your style.css file and/or your comments.php file. I'd also recommend validating your code as you have a few errors.

  5. alchymyth
    The Sweeper & Moderator
    Posted 4 years ago #

    the commentform looks standard to me, unless you had some extra styling for it - look into tht html code in the browser (in IE use View Source for that) and see what classes or ids the comment fields are using; they could be different from what you had in your html file; then adapt your style.css accordingly.
    the blue underlined '1 Response' text for instance is .commentBox h2 a which is different from .commentBox h2 of your html example.

    the footer is smaller because it is in the #content div instead of the #wrapper div - probably because the #content div was closed too early.
    check the sequence of opening and closing divs in your files - it could be that a div should be opened in header.php and then closed in footer.php.

  6. Ciwan86
    Member
    Posted 4 years ago #

    Thank You Very Much Guys :)

    You really are kind and helpful :) Thank You once again :)

Topic Closed

This topic has been closed to new replies.

About this Topic