-
AuthorPosts
-
April 21, 2017 at 10:09 am #781074
HI, I use enfold a lot for client sites. One of the tasks I struggle with most and is needed for most projects I work on is the ability to add extra items to the header. If you choose “logo left, menu below” for your header layout, it creates a large opening on the right hand side of the logo for items such as straplines, advert space etc..
Using a child theme I usually modify “helper-main-menu.php” to add the extra elements but I cannot add the extra elements directly after the
<strong class="logo">...</strong>within the:
<div class="inner-container">...</div>I usually end up doing some sort of “position:absolute” hack or use jQuery to reposition the element.
If I add the extra elements to “helper-main-menu.php” it either goes above the
<div class="inner-container">...</div>or below it, never in it. Is there a way to get these extra elements into the position that I need?
As I mentioned, this comes up a lot. Many sites have this type of header so the ability to add something a little easier would definetly be useful.
April 22, 2017 at 6:19 am #781539Hey dannhanks,
It might not be what you are looking for since the it’s positioned absolutely as well, but did you know that you can add a widget space to the header? http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
Best regards,
RikardApril 25, 2017 at 4:56 pm #782984Hi, this is almost helpful but it just plops the widget in a div above the .av-logo-container div which is pretty much where I was getting to.
There must be a way to place a file into the av-logo-container div.
April 26, 2017 at 11:05 am #783396Hi dannhanks,
Could you please give us a link to your website and a mockup of what you’re trying to achieve, we need more context to be able to help you.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.
