Tagged: header widget
-
AuthorPosts
-
February 23, 2015 at 7:22 pm #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
AndreasFebruary 24, 2015 at 11:53 am #401309Hey a-l-p!
Yes it’s possible to remove the 1, could you post a link to the site in question please?
Best regards,
RikardFebruary 24, 2015 at 12:13 pm #401325This reply has been marked as private.February 24, 2015 at 12:53 pm #401351Hi!
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!
IsmaelFebruary 24, 2015 at 1:42 pm #401389This reply has been marked as private.February 25, 2015 at 6:51 am #401867Hi!
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,
IsmaelFebruary 25, 2015 at 11:02 am #401956This reply has been marked as private.February 27, 2015 at 11:44 am #403328Hi!
Do you mind creating a temporary admin login and posting it here privately? It seems like you removed second widget from header :)
Cheers!
YigitFebruary 27, 2015 at 12:28 pm #403349This reply has been marked as private.February 27, 2015 at 12:33 pm #403354Hey!
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!
YigitFebruary 27, 2015 at 1:30 pm #403382Hi Yigit,
it works perfect, thank you! :)
Have a great Friday!
Cheers
AndreasFebruary 27, 2015 at 1:41 pm #403386 -
AuthorPosts
- The topic ‘Second header widget’ is closed to new replies.