-
AuthorPosts
-
March 30, 2016 at 7:26 pm #605396
Hello!
I decided to use the logo under the menu (both centered) and the header behavior “sticky”. Now, if I link to a section of the main page (e.g. #about or #contact), there is a space above the section. I think it is equivalent to the height of the logo area in the header. Is there a possibility that the section scrolls to the right position, so that it ‘touches’ the menu?
Second question (just on mobile devices!): When I’m on my blog page and I want to go back to a section of the main page (again ‘about’ or ‘contact’), it doesn’t show the right position, but stops somewhere on the gallery on the main page. Is there a solution to fix that?
You all are doing such great work, I’m very thankful for your brilliant theme. <3
J.
March 31, 2016 at 12:57 pm #605842March 31, 2016 at 2:01 pm #605889Done! :)
March 31, 2016 at 2:25 pm #605897Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueMarch 31, 2016 at 2:31 pm #605901Yes
April 1, 2016 at 5:56 am #606484Hey!
I checked the site and the logo container has been removed. How did you remove it? The calculation is off because of it.
Cheers!
IsmaelApril 1, 2016 at 8:52 am #606547Hi Ismael,
do you mean the av-logo-container ? Isn’t it still there?
To get text instead of a logo image, I changed the functions.php, though.add_filter('avf_logo_final_output', 'avf_text_logo_final_output'); function avf_text_logo_final_output($logo) { $link = apply_filters('avf_logo_link', home_url('/')); $logotext = "Jail Bird"; $logo = "<h1 class='logo bg-logo'><a href='".$link."'>".$logotext."</a></h1>"; return $logo; }
Regards,
JakobApril 3, 2016 at 5:19 am #607112Hey!
My bad. I didn’t notice that you use the new header option. Please add this in the Quick CSS field:
.html_top_nav_header .av-logo-container { height: 69px !important; }
.. And this code in the functions.php file:
add_action('init', 'ava_action_init'); function ava_action_init() { global $avia; $avia->options['avia']['header_custom_size'] = 10; return $avia; }
Adjust the “header_custom_size” value as needed.
Cheers!
IsmaelApril 4, 2016 at 10:59 am #607479Hi Ismael!
thank you, that works perfectly, but another problem is occuring: the active menu element / current-menu-item (black underlined) doesn’t match to the section position (you have to scroll a bit down to switch it)… Is there a solution for that, too?
Best regards,
JakobApril 6, 2016 at 5:27 am #608657Hey!
Decrease header_custom_size value. Try to set it to 0.
Please create a change log of this modification in case you update the theme or create a child theme. http://kriesi.at/documentation/enfold/using-a-child-theme/
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.