Hello,
I want to add my own code to header, but in header.php I don’t see this div’s:
<div class="inner-container">
<strong class="logo">
<a href="http://somesite.com/" style="max-height: 150px;">
<img width="300" height="100" alt="Some site" src="http://somesite.com/wp-content/uploads/2014/11/logo.png" style="max-height: 150px;">
</a>
</strong>
<a id="advanced_menu_toggle" data-av_iconfont="entypo-fontello" data-av_icon="" aria-hidden="true" href="#"></a>
<ul class="noLightbox social_bookmarks icon_count_4">
</div>
</div>
Which file should I edit to add my code?
Should I use function.php to add code?
Anyone??
Kriesi Support does not working over weekend?
Didn’t know that…
Hey!
Try using the avf_logo_final_output filter:
function change_logo_output() {
?>
<div id="logo" class="logo">
<a href="/">
<span><img src="http://s28.postimg.org/mqb5ghrwt/letter_B_blue_hover_me.png" /></span>
<span class="front"></span>
</a>
</div>
<?php
}
add_filter('avf_logo_final_output', 'change_logo_output');
We do respond on weekends, at a lower rate though. Also, creating new replies sends the topic to the last of our queue.
Regards,
Josue
Hi!
1- Can you please firstly choose to display shrinking header?
2- Please use a child theme and add the code Josue posted here to your child theme’s functions.php file – https://kriesi.at/support/topic/problem-with-contac-form-enfold/#post-361191
Best regards,
Yigit
Hey!
Please add following code to Quick CSS
.header-scrolled .logo a:before {
font-size: 30px;
left: 105px;
top: -3px;
}
.header-scrolled .logo a span.front:after {
font-size: 14px;
top: 15px;
position: relative;
left: -30px;
}
Regards,
Yigit
Hey,
this is great, just what I wanted!
Thanks a lot!