Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #442809

    Hi
    Is it possible to add a widget area to the header in a different position to that shown on your docs http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/ ?
    In centred and shrinking sticky header mode I would like to add it below the logo and above the menu.

    #443184

    Hey MartinNorton!

    Sure, send us a link to your page and we’ll give you some CSS to use.

    Best regards,
    Elliott

    #677150

    I would like to do the same thing what is the code needed to do this.

    I want to put a widget block below the header

    On this site
    http://rampsandinfo.stonebreakerswebgroup.com/

    This is a example of what I am trying to do converting this site over.
    http://rampsandinfo.com/

    Trying to create the section that says WHEN YOU NEED SAFE ACCESS ANYTIME ANYWHERE

    Thanks for your help in advance trying to finish this site today…

    Love your theme have allot of sites in it!!!!

    #678899

    Hi,

    why not follow the instructions from here http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/?
    what else do you need? can you explain further please?

    Best regards,
    Andy

    #931458

    Hi,

    I followed the instruction from Andy above, but I want to have the widget area to appear between logo and main menu (I have a left sidebar).
    I used this part of the instruction:
    Note: in case you’re using a layout with the menu below the header area use this code instead:

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header' );
    }

    Is it also easily possible to achive this?
    Thank you
    Tom

    #932194

    Hi,


    @gsTom
    : Please provide a link to the site so that we can inspect it. I’m sure we’ll be able to adjust the widget position with css.

    Best regards,
    Ismael

    #935972

    ah sorry, here we go, find the link in private content!
    In the logo area you see a wide text logo which comes together with the opening hours text area in a widget.
    the round logo below is the theme logo of enfold.
    I’d like to switch these two positions, first the theme logo, then the widget, then the main menu

    Thanks and best regards
    Tom

    #936019

    Hi gsTom,

    Credentials did not work for me. Could you please update the credentials?

    Best regards,
    Victoria

    #936046

    Hi Victoria,

    they just work fine here with me!?
    These credentials are not for login in wp-admin, but for to see the frontend of the test environment.
    You need backend access as well? (nothing to see there related to my request I guess)

    #936255

    Hi,

    Please replace the hook with the following code.

    add_action( 'ava_before_bottom_main_menu', 'ava_before_bottom_main_menu_widget_mod' );
    function ava_before_bottom_main_menu_widget_mod() {
    	dynamic_sidebar( 'header' );
    }

    This is going to render the widget below the logo right before the main menu.

    Best regards,
    Ismael

    #936502

    Hi Ismael,

    I changed the code in my functions to yours but it does not display the sidebar!
    any idea?
    thank you
    Tom

    #936773

    Hi,

    Can you please create your own ticket and send us backend and FTP details please?

    Best regards,
    Basilis

    #961399

    Hi Basilis!

    I really would appreciate if you could share the solution. I need to have a fidget section between the logo and the menu in a left sidebar layout.

    Thank you so much.
    martin

    #961522

    Hi,
    To create a layout similar to the below screenshot

    First add a header widget as mentioned in our docs https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area by adding the below code to functions.php

    add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
      dynamic_sidebar( 'header' );
    }

    Then go to Appearance > Widget Area > Create a Header Widget Area and add your widget or a text box with some sample text for testing purpose.

    Lastly, copy and paste the below code to your child theme styles.css file or Enfold > General styling > Quick CSS

    .container.av-logo-container .inner-container {
        display: flex!important;
        background: #eee;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap:wrap;
    }
    #top #header .logo,
    #top #header .main_menu,
    #top #header .widget {
       position: relative;
    }
    #top #header .logo {
        background: #ffdd00;
        order:0;
    }
    #top #header .widget {
        background: orange;
        padding: 0;
        order:1;
    }
    #top #header .main_menu {
        background: #0099e5;
        order:2;
    }
    
    @media only screen and (max-width: 767px) {
    .responsive.html_header_sidebar #header .avia-custom-sidebar-widget-area {
        display: block!important;
    }}
    
    /* Header widget Breakpoint */
    @media only screen and (max-width: 850px) {
    
       .container.av-logo-container .inner-container {
            display: block !important;
        }
        #top #header .logo {
            display: inline-block;
        }
        #top #header .main_menu {
            display: inline-block;
            float: right;
            min-width: 75px;
        }
        #top #header .av-main-nav-wrap {
            float: right;
        }
        #top #header .widget {
            margin-top: -34px;
        }
    }

    Best regards,
    Vinay

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