Forums

[resolved] Page tabs and IE formatting. (11 posts)

  1. showbiz2
    Member
    Posted 4 years ago #

    New forum member, but long time wp user.......but not really a coder.

    I am working on a template here http://care.tv

    First question is how do I get it so there are multiple rows of page tabs. I have been asked to have 2 rows of 6 tabs, but I can't find anyway to do this.

    Next: Why the heck does it not align correctly in IE the way it looks in Firefox?

  2. showbiz2
    Member
    Posted 4 years ago #

    Anyone? A little help here?

  3. Adam Brown
    Member
    Posted 4 years ago #

    It looks like you're using Template_Tags/wp_list_categories to make those links in the header. Check the link I gave for how to have it list only some of the cats instead of all of them. Then just call it twice, once for each half of the cats.

    For cross-browser problems, you should always start with validation. Unfortunately, I can't validate your site right now because you've got an error character in your footer (where the © is supposed to be).

  4. showbiz2
    Member
    Posted 4 years ago #

    Ouch, plenty of errors. Oh-well.

    Ok, I have tried all I could to make it call twice, but it just wasn't working. Can you be a little more descriptive on that?

  5. Adam Brown
    Member
    Posted 4 years ago #

    Can you be a little more descriptive on that?

    Not without seeing what's in header.php. Paste a copy into here:

    http://wordpress.pastebin.ca/

  6. Adam Brown
    Member
    Posted 4 years ago #

    One more thing. You can fix lots of those validation errors by fixing your image tags. They should always end with />, not just >.

  7. showbiz2
    Member
    Posted 4 years ago #

  8. Adam Brown
    Member
    Posted 4 years ago #

    This is the relevant part:

    <ul>
    		<li class="page_item"> <a href="<?php bloginfo('url'); ?>">Home</a></li>
    		<?php wp_list_categories('depth=1&include=12,10,7,14,11,&title_li='); ?>
    	</ul>

    Just add another call to wp_list_categories(). Does that not work? Something like...

    <ul>
    		<li class="page_item"> <a href="<?php bloginfo('url'); ?>">Home</a></li>
    		<?php wp_list_categories('depth=1&include=12,10,7,14,11,&title_li='); ?>
    		<?php wp_list_categories('depth=1&include=CHANGE_THESE,&title_li='); ?>
    	</ul>
  9. showbiz2
    Member
    Posted 4 years ago #

    Nope. I left it to show you. IF you see that line below the "Home" tab and hover over it, that is the wrap from the line above.

  10. showbiz2
    Member
    Posted 4 years ago #

    I've changed it a bit, but still can't get two lines. Help please.

  11. showbiz2
    Member
    Posted 4 years ago #

    OK, solved the 2 line issue, has to do with width of "navigation" versus calling twice.

    Final questions:

    How do I set my own order rather then default ascending or descending?

    How the hell do I seperate the IE seetings. I have tried and failed way too many times on this one.

Topic Closed

This topic has been closed to new replies.

About this Topic