absolutefiasco
asked 7 years ago

When I create an individual post, I would like the header to be visible. For example, when I go to a specific category, the header is present: However, when I click on an actual post, there is only a minimalistic page… How can I add the header to these individual post pages as well? 

nobita
replied 7 years ago

Acctually, the theme normally use feature image to make it header for indiviual post page , so if no feature image( thumbnail image) the header of individual post will not show..

well in addition ,you can try this 😀
Go to header.php , at line 2 : change "$class= 'cover";
comment or remove code from line 3–>6 😀
hope that help :-s

I fix my site like that some how i don't know how it works with you 🙂 , so if you try this solution , pls give me a comment then 😀

3 Answers
DominicStaff
answered 7 years ago

Please refer the answer of @nobita provided. If you still face there issue, please let us know.
Regards,

absolutefiasco
replied 7 years ago

It did not work, I am still having the issue

DominicStaff
answered 7 years ago

To resolve this issue, you can open the header.php in the folder path “wp-content\themes\dw_timeline_pro_1.0.6_theme\templates”. Find the line 2.
Replace the following code:
$class = ‘no-cover’;
With new code: 
$class = ‘cover’;

– Then find the line 132:
Replace the following code: 
<?php if( $header_display != ‘no-cover’ && (is_front_page() || is_archive() || is_search() || is_home()) ) : ?>
With new code:
<?php if( $header_display != ‘no-cover’ && (is_front_page() || is_archive() || is_single() || is_search() || is_home()) ) : ?>

If you still face there issue, you can send me username & password of your site (via private answer) for further checking.
Hope this helps !

absolutefiasco
replied 7 years ago

Dominic, the code is working for the most part on my computer, however on the mobile version, the titles are jumbled. Here is an example photo

DominicStaff
answered 7 years ago

Hi,
Apologies for the delay in replying to you.
To resolve this issue, I think you can remove the title and meta in the single post, you can add the following code:
.single .cover+.container .entry-title { display: none; }
.single .cover+.container .entry-meta { display: none;}
– Also, if you want to remove the title and meta only in the mobile device, you can add the following code:

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .single .cover+.container .entry-title { display: none; }
    .single .cover+.container .entry-meta { display: none;}

}
Hope this helps !

absolutefiasco
replied 7 years ago

It worked! Thank you so much =D

Powered by DW Question & Answer Pro