Forum Replies Created
-
AuthorPosts
-
March 12, 2015 at 6:15 pm in reply to: How could I put a widget in this area? Is there a guide #410618
Hi @Yigit @Elliott – I find it strange you say that?
add_action( ‘ava_main_header’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘header’ );
}That would be a better location.
My guess is that your solution would have used -negative margin to bring it back above the menu? That’s not a nice solution.
What about my solution above? That hook location?
March 11, 2015 at 4:46 pm in reply to: How could I put a widget in this area? Is there a guide #409947Like I said, the site isn’t available – it’s a local install.
The problem with that solution is it relies on a negative margin which isn’t pretty.
I think there must be a hook before _after_menu?
March 11, 2015 at 3:45 pm in reply to: How could I put a widget in this area? Is there a guide #409899It’s a development site, local only I’m afraid. But if you look at the code that he gives, the widget is being applied *after* the menu and his CSS wouldn’t make it appear above the menu. Is there a hook location before the menu?
Hi @Yigit – It’s been 2 years in development – I look forward to it :D Any ETA? this year?
March 11, 2015 at 3:20 pm in reply to: How could I put a widget in this area? Is there a guide #409870Hi @Yigit – I did try, it puts it right after the menu based on the header I’m using. The only way I could see getting it to my desired location would be to use a negative margin, as it needs to appear *before* the menu, not after – as the current hook location says.
March 10, 2015 at 11:18 pm in reply to: How could I put a widget in this area? Is there a guide #409598Hi @Elliott thanks for doing that blog posting, but it’s not really the same as my screenshot. Your tutorial creates a widget area after ‘ava_after_main_menu’ whereas I guess it needs to be after the logo? Maybe your guide is for a different header style?
Still get it *every time* – using Chrome and this happens on Mac and Windows. Happens on new topics and replies.
Hi @Ismael that works great – thanks, I must have messed up my CSS the first time :)
Hi Elliot,
Thanks for the reply. I’m actually developing it offline, so there’s no URL I’m afraid. However if you go to http://jsfiddle.net/danield770/9hh86/ you can see what I’m talking about (the style) and also the CSS that works on a standard page. The solution posted there is the one I find most often and specifically designed so you don’t have to specify widths for. My issue is that I’m struggling to adapt that code to work with Enfold.
Thanks
-
AuthorPosts