- This topic has 3 replies, 2 voices, and was last updated 4 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › Construction Base › Header on Homepage not appearing
Tagged: header image
I set Header Image with correct Sizes. Displays on ALL Pages apart from the Homepage.
I even created a new test page with the header image. Shows but the moment I set that Page as Homepage it does not show.
Am I missing a setting?
Hello @promco34,
The header image in the Static Front Page of Construction Base theme has been disabled by default in the theme itself to maintain the layout of the front page.
As the Static Front Page has the option to display slider section, the banner header is not used in the theme.
If you wish to use the banner on the front page while the slider is deactivated, you will need to customize the theme via a child theme.
For reference on creating and using the child theme, please check the link here :
https://codex.wordpress.org/Child_Themes
You can also automate the process with child theme generator plugin.
After Creating and activating the child theme, please paste the following code in your child theme’s functions.php file :
/**
* Check status of custom header.
*
* @since 1.0.0
*/
function construction_base_check_custom_header_status( $input ) {
$flag_apply_slider = apply_filters( 'construction_base_filter_slider_status', false );
if ( true === $flag_apply_slider ) {
$input = false;
}
return $input;
}
This will Display the header image in the static front page while the main featured slider has been disabled on your website.
Hope this Helps,
Best Regards !!
I have tried that and the header still doesn’t show up.
Hello @APPLECITY,
Regarding your query, the header image only shows up on the other pages than the home page.
Once please go through the child theme generator instruction and follow the process as mentioned above so that you can display the header image on the front page.
Also, make sure you upload the header image in section following the path Admin Panel > Appearance > Customize > Header Image.
Hope this helps.
If you have further queries, let us know.
Thank you.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |