How can I move the navigation bar to below my flash header??
Can I move the navigation bar?
(5 posts) (2 voices)-
Posted 1 year ago #
-
the div structure of your website is a bit messed up. There are 2 #headers and 2 #logos, and the #footer is wrapped in a nested div.
I can only answer this question for the original theme though. If you want to create a custom header, you can take a look at the bfNav child theme functions.php for how to do this. I can give the steps here though:
1. Download the topArt child theme.
2. Remove the styles in style.css of the child theme.
3. Add this code to functions.php (of the child theme):
add_action( 'bf_header', 'myHeader' ); add_action( 'wp_head', 'remove_actions' ); function remove_actions() { remove_action( 'bf_header', 'headerFeatures' ); remove_action( 'bf_header', 'bf_navigation' ); }4. copy the headerFeatures function from theme-functions.php (in library/functions) into the child theme functions.php (at the bottom before the
?>).
5. Rename headerFeatures to myHeader.
6. Add the navgation to the myHeader function with this code:
bf_navigation();6. Enable the child theme.
7. Edit the myHeader function to you liking. Add the flash before the navigation, or whatever.You must revert bigfeature to it's original state for this to work.
If you think this is too complicated and too much programming, then you can add stuff to header.php of bigfeature instead. You can deactivate the navigation in the theme settings and call it from header.php instead, like this:
<?php bf_navigation(); ?>Posted 1 year ago # -
Remove all the styles from style.css?
I'm still a little bit stuck.....any more tips??
Posted 1 year ago # -
i should add, when I add that code to functions the whole thing crashes and nothing shows up anymore!
Posted 1 year ago # -
I figured it out...or I should say, I guessed and it worked.
Thanks for your help!
Posted 1 year ago #
Reply
You must log in to post.