-
AuthorPosts
-
January 23, 2024 at 11:39 pm #1431826
Hi
There is an option in “sidebar settings” > “Sidebar Separator Styling” which displays sidebar nagivation for subpages automatically. How do I add this type of navigation to a full-width page.
I want to add a sidebar in a layout element on a full-width page. I’ve had a look at some support topics and they’ve mentioned about adding a “widget area” element which would be fine but I’m using the automatic “Sidebar Separator Styling” so my menu format is not selectable from widgets. what’s the solution. You will find an image in private content… I’m trying to achive having the navigation and title/description in a row, with the remainder of the page in a full-wdith format.
January 25, 2024 at 7:52 am #1431966Hey TBant,
Thank you for the inquiry.
You can create a custom shortcode for the Page Sidebar Navigation and add it to your fullwidth pages using a Text or Code Block element. Please add this code in the functions.php file.
function avs_sidebar_menu_cb( $atts ){ return avia_sidebar_menu($echo = true); } add_shortcode( 'avs_sidebar_menu', 'avs_sidebar_menu_cb' );
You can then use the following shortcode in the builder.
[avs_sidebar_menu]
Best regards,
IsmaelFebruary 1, 2024 at 9:00 pm #1432768Hi Ismael. Appreciate this however slight issue. I added this to \wp-content\themes\enfold\functions.php and added the shortcode to a codeblock. This is how it’s turned out (private content). There’s 2 menus and style is different. How do I get rid of the top menu and change styling to be the same as original picture? Thanks
Update: it’s formatted correctly when outside a layout element / colour section (however I would like it within one). duplicate navigation remains in both cases.
- This reply was modified 10 months ago by TBant.
February 2, 2024 at 8:53 am #1432800 -
AuthorPosts
- You must be logged in to reply to this topic.