Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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.

    #1431966

    Hey 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,
    Ismael

    #1432768

    Hi 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 9 months, 3 weeks ago by TBant.
    #1432800

    Hi,

    Thank you for the update.

    The style of page navigation is not that different when we add it on our own installation (check the private field). Please provide a link to the page where you added the page navigation shortcode.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.