-
Author
-
April 3, 2017 at 12:13 #157437StrothiParticipant
Hey guys,
I recently changed some menu settings to implement a header image on some of my pages. It works perfectly for my jobs sections for example, as seen here: https://fslci.org/jobs/ This is a normal page with the jobs shortcode providing content.
Now, I used the exact same setting for the blog / news section, and while the image appears, the transparent background won’t, event though the settings are the same. You can see the difference here: https://fslci.org/news/ This is obviously the blog page, so this might affect the behavior, any idea how to make it still work?
Now, I also tried to implement an image for my events section, but here nothing happens at all, as you can see here: https://fslci.org/events/ This is a page where the calendar plugin uses its own page template. Here I adjusted the template by inserting all the relevant kleo page elements into the code, except for the content loop. But both calls that should affect the header (<?php get_template_part(‘page-parts/general-title-section’); ?> and <?php get_template_part(‘page-parts/general-before-wrap’); ?>) are part of the template. So I don’t understand why it’s not working.
Any idea would be highly welcome 🙂
Thanks in advance 🙂
April 4, 2017 at 01:56 #157543LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 6, 2017 at 16:56 #157788RaduModeratorHi,
I think there it’s a bug with blog page, I will add this to buglist and I will let you know when we gen into this.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 6, 2017 at 17:38 #157793StrothiParticipantOk, thanks @radu. Any idea why it’s also not working on the events page?
April 10, 2017 at 18:05 #158107RaduModeratorHi,
I think it’s same or similar issue on that page,
For the events page you can use this function
COPY CODEadd_action('kleo_before_main', 'sq7rdu_show_full_width_image_before_content'); function sq7rdu_show_full_width_image_before_content() { global $post; //print_r($post); $post_name = $post->post_name; if ($post_name == 'events') { echo '<div class="fullwidth-image-before-content">'; echo the_post_thumbnail('full'); echo '</div>'; } }
Then just add a featured image to that page with slug events and it should be displayed before breadcrumbs
NOTE : Child theme needs to be installed and activated.
The function needs to be pasted in wp-content/themes/kleo-child/functions.phpLet me know
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.