Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #188171

    Caladaster
    Participant

    Hi I’m wondering if there is an easy way to have widgets placed in the same column as the logo and navigation when the nav-bar is set to fixed left or fixed right?

    #188491

    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    This is related to your request http://theme.co/x/member/forums/topic/header-area-logo-align-background-colour-room-for-a-widget-area/#post-109394

    With some change from x_after_view_global__brand to x_before_view_global__brand

    and from

    echo '</div><style>.logobar-widget-area { float: right; }</style>';

    to

    echo '</div><style>.logobar-widget-area { float: none; clear:both; }</style>';

    Hope this helps.

    #199014

    Caladaster
    Participant

    Hmm this doesn’t seem to be working, It adds the area to place widgets in the widget section, but its still not showing up below the menu. Any more suggestions? I am using Icon stack. Here is a link to my site:

    http://www.anib.ca.php53-11.ord1-1.websitetestlink.com/

    #199286

    Rad
    Moderator

    Hi there,

    Please check if your added widgets are correctly added the the sidebar registered by the code.

    Upon more closer look, you’re still using old versions of X theme and its plugins. Some feature that requires by above changes are not applicable for older version. As they don’t have any filter support yet.

    You can update your theme and plugins if you wish to use this change.

    Thanks!

    #288934

    Juan Blanco
    Participant

    Hello Team,

    I add it a extra widget after the Navbar but is not showing. any advise? please see image below.

    http://www.welkinconcrete.com/wp-content/uploads/2015/06/exta.png

    Thank you,

    Juan

    #289487

    Christopher
    Moderator

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #289677

    Juan Blanco
    Participant
    #290443

    Rue Nel
    Moderator

    Hi @juanc1130,

    Before your widgets would appear after the navbar, you have to add a widget container. Please consider adding this code in your child theme’s functions.php

    add_action('x_after_view_global__navbar', 'widget_after_navbar' );
    function widget_after_navbar(){ ?>
      <?php if ( is_active_sidebar( 'Extra Widget After Navbar' ) ) : ?>
      <div class="widget-area after-navbar">
        <div class="x-container max width">
          <?php dynamic_sidebar( 'Extra Widget After Navbar' ); ?>
        </div>  
      </div>
      <?php endif; ?>
    <?php}

    Hope this helps. Kindly let us know.

    #365546

    annagalla
    Participant

    The solution that was linked to above worked perfectly for me to get a widget area in my fixed left bar, however I would like to have the widget appear below the main menu rather than below the logo.

    Is this possible?

    #365787

    Christopher
    Moderator

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #365908

    annagalla
    Participant

    I’m currently working on my local host, so I’m not able to provide a url…

    #365931

    Rue Nel
    Moderator

    Hey @annagalla,

    Please check these links to share you localhost so that we can take a closer look. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    http://www.sitepoint.com/accessing-localhost-from-anywhere/
    https://forwardhq.com/

    Please let us know how it goes.