Tagged: x
-
AuthorPosts
-
September 14, 2016 at 3:29 pm #1175413
btcreativeParticipantTrying to figure out how to set up a header image and remove title bar per page. I’d like to use different background for each title. Using X child theme/ renew.Thanks!
September 14, 2016 at 7:22 pm #1175648
JadeModeratorHi there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
September 14, 2016 at 9:35 pm #1175920
btcreativeParticipantThis reply has been marked as private.September 15, 2016 at 2:57 am #1176218
LelyModeratorHi There,
To remove title bar per page, under Page Settings > Disable Page Title: Check this.
Add featured image on your page. Then add the following code on your child theme’s functions.php file:function page_featured_image() { if (is_page() ): ?> <style> .x-header-landmark{ background: url(<?php echo the_post_thumbnail_url('entry'); ?>); background-size: cover; } </style> <?php endif; } add_action('x_before_site_begin', 'page_featured_image');That code will add background on your page title bar. If you disable the Page title, it will not work.
Hope this helps.
September 15, 2016 at 2:10 pm #1177079
btcreativeParticipantI was able to add this code, but where will the feature be located at per page to add the background title/header bar?
September 15, 2016 at 6:20 pm #1177331
JadeModeratorHi there,
The background image should be on the area where the page title is but kindly make sure you have set a featured image to the page.

-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1175413 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
