Layout destroyed after inserting a widget in <div class="menu-container">

Discussion in 'Slice WordPress Theme' started by jjcao, Nov 27, 2012.

  1. jjcao

    jjcao Guest

    Joined:
    Nov 6, 2012
    Messages:
    20
    Likes Received:
    0
    I like this theme very much. However I have to change it for my purpose. I need a cool main menu than the default effect, such as the Mega menu in 1.png: 1.png

    But it is a widget, so I added the widget by replacing <?php inkthemes_nav(); ?> in header.php with <?php dynamic_sidebar('my_mega_menu'); ?>.
    Now, the menu appeared but the page layout below the main menu position is destroyed!!
    4.png
    I always tested that put just a search widget instead of the Mega menu widget. The problem is the same.
    3.png
    Before using a widget in "menu-container" position, the layout is correct:
    2.png
    Could you help me? http://223.4.158.139/
    Thank you.
     
  2. jjcao

    jjcao Guest

    Joined:
    Nov 6, 2012
    Messages:
    20
    Likes Received:
    0

Share This Page