WordPress.org

Ready to get started?Download WordPress

Forums

Moving Navigation in A Thematic Child Theme (3 posts)

  1. moeryan18
    Member
    Posted 1 year ago #

    Hi Everyone,

    I have found documentation about moving navigation code around for other themes, but I don't see the same kind of code in 'A Thematic Child Theme'.

    Here is my website so far: http://www.maureentopa.com.

    I'm trying to move the navigation below the sticky header (ends at the dashed line)...I've tried so many combination of margins and padding in my stylesheet until I read that I might have to move php code around. I looked in 'Thematic' and it's child theme for nav code, but couldn't find any.

    Also, this problem is minor, but can you insert a color behind a background image? I'm trying to put a color behind the lotus flower (so you won't see the page scroll behind the sticky header) but it seems you can't add both a color and a background image together? Or maybe it's my stacking order....all of these properties are under my #header tag, as this theme didn't come with a #headerimg tag, so I'm having trouble grouping all of these properties under #header.

    Sorry, I hope this makes sense. I've been messing with this header area since yesterday.

    Thank you for your time. I know these are minor problems, but I'm still getting used to CSS.

    - Maureen

  2. scottnix
    Member
    Posted 1 year ago #

    If you have questions, it is always best to ask at the thematictheme.com/forums, this forum doesn't get much attention.

    If you want to move the #access menu below the header it would be as simple as.

    // remove access menu from current position
    function childtheme_remove_access() {
        remove_action('thematic_header', 'thematic_access', 9);
    }
    add_action('thematic_child_init', 'remove_access');
    // add access menu back on to new hook, "below the header"
    add_action('thematic_belowheader', 'thematic_access');

    Where to find the markup for the header is in the Thematic theme itself, in the library/extensions/header-extensions.php file.

    Thematic is a little complex, but once you get it, complicated things can be very easy to accomplish.

    The code above is from scottnix.com/thematic-snippets/ which has a bunch of snippets that are useful examples of how some other simple things can be done.

  3. moeryan18
    Member
    Posted 1 year ago #

    Thanks Scottnix...yes, I found the thematic forum after I posted this, sorry. I'll use that for new questions from now on.

    Do I add the above code to 'header-extensions.php'? Or am I moving existing code around? Sorry, the php is a little overwhelming.

    Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic