Tagged: x
-
AuthorPosts
-
April 26, 2016 at 3:55 pm #901000
AndyParticipantHello,
I am happy to have created a custom archive page template and implement it for a custom post type, “road trips,” as you can see here:
http://roadtripsharing.com/road_trip/
it looks great but i notice a band of blank space below the nav bar and was wondering how to remove it or put text inside it? Specifically I want a heading size “Join An Amazing Adventure!” similar to what Renew usually displays for page title in that band.
Thanks kindly.
April 27, 2016 at 6:41 am #901949
ZeshanMemberHi Andy,
Thanks for writing in!
As this is a custom post type archive page, the header landmark is not showing anything. It is possible to add your desired text in that white band with custom development. While that is outside the scope of support, I could point you in the right direction with the understanding that it would ultimately be your responsibility to take it from here.
In order to add the heading there, copy the file wp-content/themes/x/framework/views/renew/_landmark-header.php in your child theme’s folder /framework/views/renew/, and immediate after the following line (line #23):
<div class="x-landmark">Add following code:
<?php if ( is_post_type_archive('road_trip') ): ?> <h1 class="h-landmark"><span>Join An Amazing Adventure!</span></h1> <?php endif; ?>Hope this helps. 🙂
Thank you!
April 27, 2016 at 12:15 pm #902624
AndyParticipantYeeah! It helps! Now to style my span… Thank you Zeshan! Take care.
April 27, 2016 at 11:28 pm #903481
FriechModeratorWe’re delighted to assist you with this. Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-901000 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
