Tagged: header image
- This topic has 9 replies, 3 voices, and was last updated 8 years, 2 months ago by Sakin.
-
AuthorPosts
-
July 23, 2013 at 3:43 pm #12248adaspromMember
Hello,
I hope you are well. I would like for my header image to only appear on my homepage. When a user selects any of the menu items, I would like it to only display the feature slider.
My web page is http://www.grahamgouldmotors.com.auThankyou
AnthonyJuly 23, 2013 at 10:31 pm #12268SakinKeymaster@adasprom: You can add the following CSS in “Appearance => Theme Options => Custom CSS” box to show header only in homepage.
#hgroup-wrap { display: none; } .home #hgroup-wrap { display: block; }
July 24, 2013 at 6:44 pm #12307adaspromMemberThankyou for your reply. Unfortunately this did not work. I was talking about the Enable Featured Header Image option. I currently have it set on ‘Homepage’ which I thought would of meant the header image appears on the homepage. When a user selects the About Us menu item for example. It removes the header image and only displays the feature slider. I have another WordPress site with an earlier version of the theme that I use as a test site, it’s Version 1.2.2, and this function works well. I’m currently running Version 1.3 of your theme.
Your assistance would be appreciated, thankyou.July 24, 2013 at 9:53 pm #12311SakinKeymaster@adasprom: Yes, we have found issue in Featured Header Image options, which is schedule to be fixed in version 1.4. For now you can add above css or you can go to your file catcheverest-functions.php and in line no 358 replace the following code
elseif ( $enableheaderimage == 'allpage' || ( $enableheaderimage == 'homepage' && ( ( is_front_page() || ( is_home() && $page_for_posts != $page_id ) ) && $enableslider == 'enable-slider-homepage' ) ) ) { catcheverest_featured_image(); }
With
elseif ( $enableheaderimage == 'allpage' || ( $enableheaderimage == 'homepage' && ( is_front_page() || ( is_home() && $page_for_posts != $page_id ) ) ) ) { catcheverest_featured_image(); }
July 25, 2013 at 6:32 pm #12355adaspromMemberMy apologies, I’m not sure if I’m looking to hard at this, but the closest thing I have is on line 329 where it states the following:
if ( $enableheaderimage == ‘allpage’ || ( $enableheaderimage == ‘homepage’ && is_front_page() ) ) {
if ( $options[ ‘featured_header_image_position’ ] == “before-header” ) {
add_action( ‘catcheverest_before_header’, ‘catcheverest_featured_image’, 10 );
}
elseif ( $options[ ‘featured_header_image_position’ ] == “after-sidebartop” ) {
add_action( ‘catcheverest_before_hgroup_wrap’, ‘catcheverest_featured_image’, 15 );
}
elseif ( $options[ ‘featured_header_image_position’ ] == “after-menu” ) {
add_action( ‘catcheverest_after_hgroup_wrap’, ‘catcheverest_featured_image’, 15 );
}
elseif ( $options[ ‘featured_header_image_position’ ] == “before-menu” ) {
add_action( ‘catcheverest_after_hgroup_wrap’, ‘catcheverest_featured_image’, 9 );
}}
I originally attempted to edit the file with the Editor, but it didn’t work out for me and I had to replace the file with a backup I had. I’m now using Noteplus++ to look at the code.
Thankyou for your patience.
Regards,
AnthonyJuly 25, 2013 at 7:32 pm #12362adaspromMemberSakin,
I think I have figured it out. I have removed the header image and replaced it with the Featured Header Image of choice and then I was able to change the settings so that when a user selects a menu item, the Featured Header Image would not appear and only display the Featured Content images. It would of been nice if I could use the header image, but I think I prefer it like this, the Featured Header Image actually comes out nicer. Also, when I select the menu item and the Featured Header Image disappears, there is a white space that appears on top of the Featured Content images, I have since filled this space with text within the TagLine and changed the colour.Let me know what you think?
http://www.grahamgouldmotors.com.auRegards,
AnthonyJuly 26, 2013 at 4:04 pm #12377SakinKeymaster@adasprom: Anything that work fine with you is great. I am just here to support you all. Cheers 🙂
July 26, 2013 at 4:18 pm #12378adaspromMemberThank you. I must say, your template is so flexible and easy to work with. Thank you once again.
September 13, 2016 at 7:36 am #99246LaurieParticipantI’m trying to get my homepage slider image to only appear on my homepage. I would like all of the other pages just to show content without my header picture. I tried some of the fixes suggested and they didn’t work. I’m using simple catch pro as my theme. My site is:
http://www.21stcenturymom.comSeptember 13, 2016 at 10:53 pm #99291SakinKeymasterHello Laurie,
I check in your site and see that you are using Simple Catch Pro theme. For Simple Catch Pro theme please use support forum https://catchthemes.com/support-forum/forum/simple-catch-pro-premium/
I see that you are using Header Image and we don’t have option for this. We have Enable option only for Slider in Simple Catch Pro. For slider, you need to go to “Appearance => Customize => Featured Slider => Slider Options”.
We will work on the update of Simple Catch Pro theme. So, that we haven enable option for header image as well. This will be there in next version update only. For now, you can hide with the help of custom css.
Just add the following css in “Appearance => Customize => Theme Options => Custom CSS Options” box:
.headimg { display: none; } .home .headimg { display: block; }
-
AuthorPosts
- The topic ‘Header Image only on Homepage’ is closed to new replies.