Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #417429

    Hi,

    In my Sidebar setting, I’ve set Page Sidebar navigation to display. Then under Appearance > Widgets > Displayed Everywhere I have the Search widget and couple of Text widgets. Right now the sidebar navigation displays above the other widgets. I can’t find a way to move it.

    I need to make two modifications:

    • Move the Search widget above the Page Sidebar Navigation
    • Add a widget title or an H3 title above the sidebar navigation

    Could you please tell me what edits I need to make? I prefer not to use a Custom Menu widget if it is possible.

    Thanks

    P.S. I’m using a child theme with Enfold V3.1.1 and WP 4.1.1.

    • This topic was modified 9 years, 9 months ago by akmhou.
    #418015

    Hey akmhou!

    In the sidebar.php file try moving lines 28 – 34.

    //Display a subnavigation for pages that is automatically generated, so the users do not need to work with widgets
    $av_sidebar_menu = avia_sidebar_menu(false);
    if($av_sidebar_menu)
    {
    	echo $av_sidebar_menu;
    	$default_sidebar = false;
    }
    

    So they are right above line 86.

    echo "</div>";
    

    Cheers!
    Elliott

    #419062
    This reply has been marked as private.
    #419164

    Hi!

    No problem, take your time and get back to us when you have a chance to.

    Regards,
    Rikard

    #423296

    Hi,

    Sorry for the long absence.

    I made Elliot’s edits to my sidebar.php and put it in my child theme folder.

    It moved the page sidebar navigation but put it all the way to the bottom.

    What can I do to move it up? What I’m trying to do is:
    Search widget
    Page Navigation
    Text widget1
    Text widget2
    etc.

    Thanks

    #423631

    Hey!

    You can’t place the Page Navigation in between the widgets. You can either place it below or on top of every other widgets. Use the Custom Menu widget instead of the default Page Navigation if you want to control the placement of the widget.

    Cheers!
    Ismael

    #423729

    Hi Ismael,

    I was hoping there was a solution or a workaround other than using a Custom Menu widget. I would like to avoid manually updating the menu whenever I added or deleted pages, especially if they are not part of the main nav.

    Looks like custom menu is my only option if I also want to control the position of the widget.

    Thanks for the update. Please mark this as resolved.

    Regards,

    #423826

    Hi!

    Hope you get it working in an efficient way, please let us know if you should have any more questions.

    Cheers!
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Page sidebar navigation Mods’ is closed to new replies.