WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Firefox / IE difference in sidebar list (7 posts)

  1. Glenn Ansley
    Member
    Posted 8 years ago #

    Hello,
    I've got a problem with Firefox and IE not displaying the same thing... don't we all. Anyway, I searched the forums and couldn't find my problem addressed specifically.

    I have combined by pages and my categories under one h2 called navigation. To put them in the order I want, I've actually called the page list twice (with the category list in the middle).

    In IE, I get an extra space above the page lists, causing the whole "Navigation" to drop a line break, and causing an extra line break between my categories and the second page list.

    Any ideas on how to fix this or why firefox doesn't have the same problem? Unfortunately, the professor I'm designing it for uses IE... so I can't just ignore it.

    The site is located at http://www.glennansley.com/little

    Thanks.

  2. ladydelaluna
    Member
    Posted 8 years ago #

    (check your blog title: "Forum for Chritian Thought" - I'm thinking the prof. might not like that much...) ;)

    aside from that, i'm not sure why you're trying to call in the pages twice... why not just order them the way you wish using the one template tag? i'm thinking that's your issue... because FF is a superior browser, it understands what you're trying to do, and IE does not...

  3. Glenn Ansley
    Member
    Posted 8 years ago #

    Thanks for the headsup with that typo!

    I'm afraid I don't understand what you're saying about the one template tag though. Could you explain?

  4. ladydelaluna
    Member
    Posted 8 years ago #

    "I have combined by pages and my categories under one h2 called navigation. To put them in the order I want, I've actually called the page list twice (with the category list in the middle)."

    You said you called the page list twice in order to get the pages in the order you want. I don't see the reason for this, when you can use template tags to achieve the results you want...
    http://codex.wordpress.org/Template_Tags/wp_list_pages

  5. Glenn Ansley
    Member
    Posted 8 years ago #

    Oh, okay. I see what you're saying. The problem I am having is that in my list:

    Welcome
    About
    Essays
    Reports
    Recommendations

    welcome, about, and recommendations are all pages. essays and reports are categories. My problem is getting recommendations (a page) to be listed after reports (a category). Does that make sense? I may just be trying to do something that can't be done in IE.

  6. ladydelaluna
    Member
    Posted 8 years ago #

    I think you need to just call things in, pages first, then posts (categories)... I see what you're wanting to do, though I don't think it's possible to do it and have it look the way you want in IE.

    On that note, I'm curious as to why "Recommendations" isn't a category but a page instead. Wouldn't the owner want to add to that at times? Why not make it easy by letting him write a post, rather than have to edit the page? And in that case, it will give you the divisions in the order you want (except "recommendations" will come before "reports" if you're sorting alphabetically)

  7. Glenn Ansley
    Member
    Posted 8 years ago #

    Thanks for your help. I think I'll probably just have to put recommendations above essays like you suggested though. (He wants to have 'book recommendations' 'link recommendations' and 'ministry recommendations'. The kicker is that he wanted them on a recommendations page.

    So, I've created all those categories, told the sidebar not to list them in categories, and have them listed on a special page template for recommendations. And... as I'm sure you've guessed by now, that special template is applied to my recommendations page.

    Anyway... thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic