Forums

Trying to alter homepage CSS so that it matches blog post CSS... (7 posts)

  1. iYankees
    Member
    Posted 2 years ago #

    Not sure if that's the best way to word my issue, but I tried. Anyway, as you can see from my homepage, I've altered the CSS and the home.php file so that the homepage now shows my blog posts in their entirety, whereas before there was a "read on" button for every post (they were all abbreviated). However, though I have resolved that issue and the posts are being displayed in their entirety without having to click on them, one must still click on them in order to see all the line breaks, formatting (italics, for instance), etc. How do I go about making my homepage display posts as they truly are (with all the formatting, etc.), with the tags as well (the only reason I would want people to click on the posts is for reading and writing comments).

    I was told to try Firebug and compare different CSS styles, but I'm not sure what I'm looking at when I do that and then where/how I would alter the homepage CSS. If anyone can help me it would be much appreciated.

  2. Mark / t31os
    Moderator
    Posted 2 years ago #

    Find this..

    #contentleft .hpmain p {
    font-size:12px;
    margin:0;
    padding:0;
    }

    Change to..

    #contentleft .hpmain p {
    font-size:12px;
    margin:0;
    padding:0 0 15px;
    }

    ..do they look more alike now?

  3. iYankees
    Member
    Posted 2 years ago #

    You are awesome! Thank you so much, seriously. I've been trying to do that all day, ha. I hate to be greedy, but you wouldn't know how to add the time and the tags, would you? I'm probably pushing my luck, but seriously, thanks again.

  4. Mark / t31os
    Moderator
    Posted 2 years ago #

  5. iYankees
    Member
    Posted 2 years ago #

    Hmm.. Not sure if this changes anything, but the posts themselves indicate time and tags. It's just that the homepage display does not for whatever reason (you have to click on the posts to see this info). I'm also trying to include authorship of posts.

  6. iYankees
    Member
    Posted 2 years ago #

    upppp

  7. Mark / t31os
    Moderator
    Posted 2 years ago #

    What file handles the output of your home page?

    You just need to add the appropriate tags to the given file.. (links i provided before show how to use said tags).

Topic Closed

This topic has been closed to new replies.

About this Topic