 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
October 6, 2014 at 4:31 am #330693Hi, I would like to use the same Sticky Fullwidth Submenu on all pages and posts without having to add it via Avia template builder every time…. 
 I found the shortcodeecho do_shortcode( '[av_submenu menu='5' position='left' color='footer_color' sticky='aviaTBsticky']' );Can’t figure out which theme template I should add it to though to have it show on all pages and posts… - 
		This topic was modified 11 years ago by uniquelylost. 
 October 7, 2014 at 4:05 am #331330Hi uniquelylost! Thank you for using Enfold. I’m sorry but this might break the sticky but you can add this on functions.php: function ava_sticky_sub() { $output = do_shortcode("[av_submenu menu='32' position='center' color='main_color' sticky='aviaTBsticky' custom_class='']");; echo $output; } add_action('ava_after_main_container', 'ava_sticky_sub', 10);Cheers! 
 IsmaelOctober 7, 2014 at 5:07 am #331358Hi Ismael! I’m using the new sidebar main menu and this breaks the layout…. I have found that if I add 
 <?php echo do_shortcode( "[av_submenu menu='5' position='center' color='footer_color' sticky='aviaTBsticky']" ); ?>Right after this line in the header.php <body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank); avia_markup_helper(array('context' => 'body')); ?>>It almost works but the layout is still not right and the sticky is kind of broken… October 7, 2014 at 9:43 pm #331904Hi! The sticky menu is not meant to be used this way because it is a full width element, you’d need to recreate it on every Page, you can make use of Templates to ease this process though. Regards, 
 JosueOctober 8, 2014 at 6:32 pm #332614Hi Josue! If its not alot of work could you show me an example of how I could add it to all blog post pages? October 8, 2014 at 7:35 pm #332648Hi! Can you post a link to your website? Dashboard access would be needed too. Best regards, 
 Josue
- 
		This topic was modified 11 years ago by 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
