Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #400938

    Hi guys,

    I added a widget to the header (http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/ ) but unfortunately I get a “1” at the left side. What can I do to remove this?
    And my second question: Is it possible to install a second widget on the right side of the header?

    Thanks
    Andreas

    #401309

    Hey a-l-p!

    Yes it’s possible to remove the 1, could you post a link to the site in question please?

    Best regards,
    Rikard

    #401325
    This reply has been marked as private.
    #401351

    Hi!

    Please post the code that you added to the functions.php file on pastebin.com. We would like to check it. If you want to add another widget, replace the code with this:

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

    Cheers!
    Ismael

    #401389
    This reply has been marked as private.
    #401867

    Hi!

    You didn’t change the widget or sidebar area name. Please try this:

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    echo "<div class='header-widget'><div class='container'>";
    echo dynamic_sidebar( 'Sidebar Pages' );
    echo dynamic_sidebar( 'Sidebar Blog' );
    echo "</div></div>";
    }

    This will echo out the widget areas called Sidebar Pages and Sidebar Blog. You can change that to your own custom widget area. If possible, please provide a screenshot of what you’re trying to do with the header.

    Best regards,
    Ismael

    #401956
    This reply has been marked as private.
    #403328

    Hi!

    Do you mind creating a temporary admin login and posting it here privately? It seems like you removed second widget from header :)

    Cheers!
    Yigit

    #403349
    This reply has been marked as private.
    #403354

    Hey!

    Please add following code to Quick CSS

    div#text-6 {
    right: 10%!important;
    transform: none!important;
    left: auto!important;
    }

    Then please remove both “echo” from this code – https://kriesi.at/support/topic/second-header-widget/#post-401351

    Cheers!
    Yigit

    #403382

    Hi Yigit,

    it works perfect, thank you! :)

    Have a great Friday!

    Cheers
    Andreas

    #403386

    Hi!

    You are welcome Andreas, glad we could help!
    Thanks, you do too! :)

    Best regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Second header widget’ is closed to new replies.