Forum Replies Created
-
AuthorPosts
-
styleandcheerMember
Hello again,
Just wanted to say I no longer need the info for sticky mobile header.
I got fed up with my Foodie Pro theme (after spending 2 weeks night & day trying to change it drastically without knowing code very well) and switched to Market theme which has awesome support from designer and already has the layout I want.
Have a great day!
styleandcheerMemberThank you kindly! I am sure someone will benefit from this info!
I got fed up with my Foodie Pro theme (spent a couple weeks trying to change it drastically without knowing code very well) and switched to Market theme that has awesome support from designer and already comes with a layout I want.
Live and learn!
styleandcheerMemberThe code that made navigation sticky only had effect in desktop view. The tablet and phone view do not have a sticky navigation. I know it's collapsed in tablet and phone view, but it's not sticky. I'm working with Foodie Pro, so maybe this problem is theme specific? Just trying to figure out how to solve it.
styleandcheerMemberUsed in theme editor (under Appearance, then Edit) and it's perfect! Thanks again!
styleandcheerMemberWow! You saved the day! Thanks, Brad! I'm sure others will benefit from this info.
styleandcheerMemberSo is this what the new code needs to look like?
// Move primary navigation
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before', 'genesis_do_nav', 1);styleandcheerMemberExactly. I want the navigation to be right at the top, above the "featured posts" widget area (which is genesis_before_header). I tried to change the snippet wording to before_before_header but it didn't have any effect. Or that's when my site crashed, can't remember now.
styleandcheerMember<script src="https://gist.github.com/anonymous/823df3cfdff4c4aad6fb46ab9d778841.js"></script>
styleandcheerMemberHm...my link to Github is not showing up. I made it secret, should I have made it public?
styleandcheerMemberstyleandcheerMemberLooks like I was using theme editor, specifically functions.php.
styleandcheerMemberI have seen this hook map online already, and it makes things even more confusing for me, because it looks like all I have to do is hook up the navigation bar to the very top hook called "genesis_before" and my issues would be solved, right? But when I messed with the code, my site crashed. It was backed up so I'm up and running again, but back to square one.
Which part of the code should I provide?
-
AuthorPosts