June 11, 2013 at 9:14 am #45257
Im am trying to move the main navigation on http://www.halohairandbeautybristol.co.uk to sit just above the footer widgets as it is now but the background image of the nav to be full width (same as the footer widgets background image) Could you please take a look as i am unable to see what is wrong, the code seems to place the hook before the closing div so it is ”trapped” within the element. I have tried useing firebug and have tried many before and after hooks without success.
The Theme is Fabric.
Thank you for any help
DannyJune 11, 2013 at 11:52 am #45315
anitacParticipantPost count: 6055
It’s wrapped inside the #Inner. You need to put it in its own DIV and wrapper. You can probably see how it’s done in the Footer-Widget area.
June 12, 2013 at 12:59 am #45402
Thanks for that, Yes it’s trapped in the #inner and I don’t know why, the hook I added to the functions.php i
<code>/** Reposition the primary navigation */
remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
add_action( ‘genesis_after_content_sidebar_wrap’, ‘genesis_do_nav’ );</code>
In firebug, when I manually copy it and paste it to after the #inner (<!– end #inner –>) line it works how it should.
Can anyone point me to an article explaining what I need to do please? I thought placing the action “genesis_after_content_sidebar_wrap” would place it after the #inner rather than inside it, I cant find an article on studiopress explaining it, I’ve look through the hook references and tried all different hooks with no joy, and emailed studiopress support and was told to ask in the forums.
anitac – is my hook correct but I need to create a div and wrap in the css, if so can you offer any pointers?
Any help/pointers really appreciated
DannyJune 12, 2013 at 2:02 am #45404
vividvillaParticipantPost count: 34
Hi Danny,I hope this will be helpful
i dont know whether this exactly solves your problem but can certainly help you.
June 12, 2013 at 6:21 am #45420
Thanks I’ve had a read through those articles and they seem to be along similar lines so a good reference for future.
They do relate to what I am trying to achieve although in this case the main wrap is already full width so everything is inside it.
I really dont understand, the action that I placed in the funtions.php is saying “put the nav after the content_sidebar_wrap – yet it places it inside it, why?
Can anyone from studiopress take a quick look please?
dannyJune 13, 2013 at 7:49 am #45653
I am still very Much struggling with this if anyone can help?
You must be logged in to reply to this topic.