WordPress.org

Ready to get started?Download WordPress

Forums

two questions (25 posts)

  1. Kathie
    Member
    Posted 10 years ago #

    Okay. If you go to my site (http://memento--mori.org) you will see that the date is blue and the content start a line UNDERNEATH. How can I make it start right next to the date though? Im not having a < br > tag in between if you wonder...
    So. 2nd question is. When you click on 'before' at the bottom part and the older post appears how can I make the comments stop showing up underneath? Thats annoying :|

  2. southerngal
    Member
    Posted 10 years ago #

    The first part is controlled by your .CSS. Look in there for the .date declaration and for the content to have an underline. I would think that the alignment is in the .CSS as well.
    You have the pages posted for one entry. Look in your actual code for the next entry...it's in there somewhere.

  3. Kathie
    Member
    Posted 10 years ago #

    Where do I find the actual code though? The thing is I have wordpress and everything else too in my index file (NOT in the wordpress directory), so I dont know where too look and whatnot :D

  4. Kathie
    Member
    Posted 10 years ago #

    And I dont get the rest either :( This sucks. Im dumb.

  5. Mark (podz)
    Support Maven
    Posted 10 years ago #

    First part. The gap between the tiltle of the post, and the contents of your post, is determined by the code in index.php. Go to Templates, and that file should appear. You need to look for the lines just underneath <div id="rap">
    Although there are no <br> tags, there is a tag which the WP code is putting in.
    "Damn this is annoying." is there for example on your page.. I believe that this is coded in elsewhere in WP. I don't know of a 'cure'.
    Second part: When you view a previous entry on it's own, you are effectively viewing an archive. As such, again I believe that this is the default behaviour - it certainly is how my blog behaves.

  6. Anonymous
    Unregistered
    Posted 10 years ago #

    You have got to be kidding us. Your site and previous layouts are a really cool portfolio. This is a joke right?

  7. flakkito
    Member
    Posted 10 years ago #

    don't know if this helps- so don't kick me if it doesnt:)
    but as to your first problem, you have your date appear before you first paragraph starts.
    <div class="inhalt">
    <font color="#BEC2D5">March 04, 2004 (Thu)</font> I’m happy with my layout, seriously. Even though there are still some little tiny bugs (which aren’t really visible to others, but it bothers me anyway <img src='http://memento--mori.org/wordpress/wp-images/smilies/wink.gif' alt=';)' />
    so maybe if you put the before the date it will all be in one chunk-
    <div class="inhalt">
    <font color="#BEC2D5">March 04, 2004 (Thu)</font> I’m happy with my layout, seriously. Even though there are still some little tiny bugs (which aren’t really visible to others, but it bothers me anyway <img src='http://memento--mori.org/wordpress/wp-images/smilies/wink.gif' alt=';)' />
    hope that helps in some way. good luck on your second problem.
    :)

  8. Anonymous
    Unregistered
    Posted 10 years ago #

    I have to say that beautiful though your site is you have made this much harder than it need be by mixing style and content in your index. To answer your question correctly the offending paragraph is declared in a new p tag. p by default goes on a new line. Put the paragraph tag in front of the date and you will be very fine.

  9. Kathie
    Member
    Posted 10 years ago #

    Didnt work, nope. Now I created a line break :D *sighs*

  10. Anonymous
    Unregistered
    Posted 10 years ago #

    <font color="#BEC2D5">March 04, 2004 (Thu)</font>
    I’m happy with my layout, seriously. Even though there are still some little tiny bugs (which aren’t really visible to others, but it bothers me anyway <img src='http://memento--mori.org/wordpress/wp-images/smilies/wink.gif' alt=';)' />

  11. WillM
    Member
    Posted 10 years ago #

    WordPress puts a tag at the start of every entry. If you want to change this behavior you will have to edit the php, which I would not recommend unless you know what you're doing.

  12. Anonymous
    Unregistered
    Posted 10 years ago #

    I must confess to having failed to fully grasp the implications of this question.
    I think the solution requires the declaration of a new and further div for the post.
    The div needs to start before the date and end after the post. It is then possible to style the date and first line of text using display: inline. That should do it. No need to edit the php at this stage. All its tags can be styled regardless.

  13. Kathie
    Member
    Posted 10 years ago #

    Why would I put another div in there when my b2 already IS in a div? That doesnt seem to make sense.
    Well whatever. Guess I have to get used to the fact it wont work :|

  14. Anonymous
    Unregistered
    Posted 10 years ago #

    Yes but you have now got two consecutive p tags one before the date and another before the story content. The first tag is not closed incidentally. If you have two p tags they are going to line break by default. It is in the spec. There is no mystery about how this is occurring. Getting it fixed is obviously tricky. But one of those ps has to go:-)

  15. Anonymous
    Unregistered
    Posted 10 years ago #

    Yeah I just wish I knew how to do that :(
    Does anyone know an answer to my first question?

  16. Anonymous
    Unregistered
    Posted 10 years ago #

    I do not wish to seem unsupportive but there is so much going on in your code
    it is confusing even our best css gurus. Perverse as this may seem once they gotten used to separate css it is very difficult to step back into the type of code
    you are asking us about. I really do mean this in the nicest way but it is apparent you have some very good design skills. Get on top of the css and you will be unstoppable.

  17. WillM
    Member
    Posted 10 years ago #

    Have you tried putting the date in a float? Only way I can think of to get the date and entry to display on the same line.

  18. Kathie
    Member
    Posted 10 years ago #

    Dont worry. I know you mean it nice. Not a problem at all :D

  19. Anonymous
    Unregistered
    Posted 10 years ago #

    Nope. Just done a bit of research for you Kathie. The rule you need to declare in your style somewhere is display: run-in for the h2 selector. If you apply that to the date the text which follows will be on the same line. You will end up with the date in every post but heck; lets take one problem at a time.
    A lot of the usual css gurus are obviously off for the weekend ;) Or they can't do it!

  20. Kathie
    Member
    Posted 10 years ago #

    h2 {
    display: run-in
    }
    So thats what I would put inside my style.css file? Right? Well it didnt work. You know what: thank you so much for trying to help but Im giving up. Its not THAT important lol.

  21. Anonymous
    Unregistered
    Posted 10 years ago #

    Give up if you want! We are just getting started. In your div inhalt you start with a date. The date is not in any kind of container. It may validate but it is not semantic. My h2 suggestion momentarily overlooked the fact that your index is severely hacked. What I meant was what would have been the h2 if you had not deleted it. CSS is fun isn't it? Love your blog.

  22. Anonymous
    Unregistered
    Posted 10 years ago #

    In the original index php we were supplied with the date is served up in the h2 tag. Straight off the bat that is stylable anyway we want in css. The date is not connected to one particular post. Then comes the filed under stuff. Then .storycontent. If we wrap it all in one new div somehow; we get control of all those elements. Then we style inline or run-in which is my preferred choice. Sadly I am unwilling to hack my own WP which I have installed locally to see how it might work. In the most general terms it should not IMHO be undoable.(sic)

  23. Kathie
    Member
    Posted 10 years ago #

    Go look (http://memento--mori.org) Are you proud of me now? :D heh

  24. Anonymous
    Unregistered
    Posted 10 years ago #

    Kathie - I and a lot of folks here are very proud and pleased for you. Thought the css gang nearly lost a talented designer. Bit of a way to go on separating those font tags the heck out of the xhtml but what the ****. All in good time. Nice work and I for one admire your perseverence.

  25. Kathie
    Member
    Posted 10 years ago #

    *blushes* eh uh. The funny thing is that I fucked up my livejournal now lmao. Dont ask me HOW I did it, it looked PERFECT already. Now Im waiting for my friend to send me her code :|
    Thanks for being proud heh.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.