Tagged: x
-
AuthorPosts
-
May 28, 2016 at 10:09 am #1014417
mclukensParticipantHello,
I would like to add a custom banner/image to the top of my blog page: http://hfsc.wpengine.com/the-solution-blog/
I’ve tried adding this code to the functions.php file of the X-Child Theme:
function custom_banner() {
if (is_home()) {
echo ‘<div class=”custom-banner”>
</div>’;
}
}
add_action(‘x_before_view_renew__landmark-header’,’custom_banner’, 9999);I’ve tried adding this custom js:
function($) {
var html = ‘
‘;
$( html ).appendTo(‘.blog .x-header-landmark’);})(jQuery);(
Neither of these worked. Please advise.
Thank-you.
May 28, 2016 at 11:54 am #1014469
ThaiModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Authentication password(http://i.imgur.com/ad1apN7.png)
– Link login to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
June 2, 2016 at 9:53 am #1022287
mclukensParticipantI achieved the desired outcome by adding html to the head.
June 2, 2016 at 11:55 am #1022548
JoaoModeratorGreat to hear it.
Let us know if you need help with anything else.
Thanks
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1014417 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
