WordPress.org

Ready to get started?Download WordPress

Forums

pages and navigation twenty-eleven (11 posts)

  1. Elaine Griffin
    Member
    Posted 2 years ago #

    So it turns out I have a lot of questions today. I thank you in advance for bearing with me!
    I'm having an issue with my pages that I set up for pages posts. First, the content I wrote as a description of the page, is in the content area AND above the header. I have tried using the default template, the sidebar template, and I created a pages posts template, per the codex pages section. I'm just not getting it.
    Also, I'm unable to make the navigation text the color I want it for the active page.
    Thanks!
    http://www.thelainelist.com

  2. david.bailey
    Member
    Posted 2 years ago #

    Without knowing exactly what's going on, it looks like the issue is in the header.php instead of the template files themselves. If you can, post the contents of your header.php so we can see what line of code is generating that.

    Also, in your stylesheet on line 582 there's a line that reads:

    #access .current_page_item > a, #access .current_page_ancestor > a {
    font-weight: bold;
    color: ivory;
    }

    The change there should reflect the current page.

  3. Elaine Griffin
    Member
    Posted 2 years ago #

    Hi David,
    Thanks for the help. Here is the header.php code:

    [code moderated per forum rule - please use the http://pastebin.com/ ]

    As far as #access, I have toyed and toyed with that section. I know the line you are referring to (although it's not 582 on my sheet?), and this does make the text color ivory, but only on the "The Laine List" and "About" pages. Which is why I thought it might be a template issue?
    Thanks!

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

    some of the other current pages have the css class: .current_page_parent (for whatever reason ?)

    so you might want to try to add this to the style.

    also, your site has various validation errors on the different pages; you could check them with http://validator.w3.org/

  5. Elaine Griffin
    Member
    Posted 2 years ago #

    some of the other current pages have the css class: .current_page_parent (for whatever reason ?)

    so you might want to try to add this to the style.

    I'm sorry, I'm not sure what you mean by this.

  6. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    i mean:

    #access .current_page_item > a, #access .current_page_parent > a, #access .current_page_ancestor > a {
    font-weight: bold;
    color: ivory;
    }

    (untested)

  7. Elaine Griffin
    Member
    Posted 2 years ago #

    Nice, that worked. Thank you!
    I'm not sure where to find the various pages css class. Can you tell me?
    Also, any thoughts on why the content text is above the header?
    THX!

  8. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    I'm not sure where to find the various pages css class.

    try to work with a browser tool such as Firefox' add-on Firebug http://getfirebug.com/ to inspect the css of your site.

  9. Elaine Griffin
    Member
    Posted 2 years ago #

    Thank you. I did download firebug, but I'm still having a hard time figuring out why the page text is showing up in the content area AND the header.

  10. david.bailey
    Member
    Posted 2 years ago #

    Hi, Elaine -

    Remove the following line from your header.php -

    // Add the blog description for the home/front page.
    $site_description = get_bloginfo( 'description', 'display' );
    if ( $site_description && ( is_home() || is_front_page() ) )
    echo " | $site_description";

    That should work - sorry for not getting back to you sooner.

  11. Elaine Griffin
    Member
    Posted 2 years ago #

    No worries, David, thanks.
    It didn't actually work. I'm so stumped!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.