Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #748790
    #750722

    Hey Dave,

    Please go to Apperance > Widgets and create two widget areas “header” and “header-two” and then add following code to Functions.php file in Appearance > Editor

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

    Then add following code to Quick CSS in Enfold theme options under General Styling tab

    #header .widget:nth-child(1) {
      left: 50%;
      padding-top: 0;
      position: absolute;
      top: 0;
      transform: translate(-50%);
      z-index: 999;
    }
    #header .widget:nth-child(2) {
      left: 0%;
      padding-top: 0;
      position: absolute;
      top: 0;
      transform: translate(-50%);
      z-index: 999;
    }

    Best regards,
    Yigit

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