-
AuthorPosts
-
November 29, 2014 at 10:40 pm #360146
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?
-
This topic was modified 10 years, 11 months ago by
bogosavljev.
November 30, 2014 at 2:01 am #360173This reply has been marked as private.November 30, 2014 at 4:09 pm #360290Anyone??
November 30, 2014 at 10:30 pm #360427Kriesi Support does not working over weekend?
Didn’t know that…
November 30, 2014 at 11:14 pm #360449Hey!
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,
JosueDecember 1, 2014 at 6:46 pm #360942This reply has been marked as private.December 2, 2014 at 3:54 pm #361468Hi!
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-361191Best regards,
YigitDecember 2, 2014 at 7:57 pm #361723This reply has been marked as private.December 2, 2014 at 8:15 pm #361736Hey!
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,
YigitDecember 3, 2014 at 12:38 am #361877Hey,
this is great, just what I wanted!
Thanks a lot!
-
This topic was modified 10 years, 11 months ago by
-
AuthorPosts
- The topic ‘How to add my code to header area, which file to edit?’ is closed to new replies.
