I have deactivated unsupported plugins I am using one by one and it does not fix the problem. I have noticed however that when I login to wordpress wp-admin this seems to fix the problem.
Actually the mobile page has been replaced with the desktop page again and seems to keep reverting back that way automatically. I have also noticed that none of the mobile pages on my category page cloud templates display properly either. The only one that seems to work is the mobile page for Single page template.
Hi all, this no longer works on version 11 (and I think version 10) of the theme, the code for the search functions has changed a lot with the new “header live search” element and looks far more complicated to edit it so it uses Google Custom Search.
I don’t know any php coding myself so the only way I could use Google Custom Search in the header was to simply use a Custom html block and paste the code from Google in there or do the same with a Widget element. It doesn’t look as good but works at least. If anyone works out how to edit the search elements properly please let us know.
You’ll also need to use some custom CSS in the Custom Code section of the theme panel to get it to look decent. I used the functions below:
.gsc-search-button svg {
vertical-align: middle;
}
.gsc-searchbox table, td {
border: none !important;
}
.gsc-control-cse {
border:none;
}
Don’t worry worked it out, I’ve just put negative padding underneath the widget/custom html area which pushes the height out for some reason.
Thanks that has fixed one problem, they were both selected. Is there also a way to reduce the height of the sticky header so there is less space underneath the elements?
Don’t worry I fixed it. The problem was that I created a separate mobile template for the homepage and edited the mobile header and footer in there assuming that that would apply globally across the site, tried to select “global” next to it but this did nothing.
I had to edit the mobile header and footer that are associated with the desktop homepage for it to apply by default across the site.
Yes that worked, thank you!
Hi,
This doesn’t seem to work on the current version of the theme, 8.7. I’ve tried your tutorial but it doesn’t change the search function in the menu at all.
The code in the file parts/header-menu-2.php seems to need to be changed. I can get google custom search to show up in the menu by using the Google custom search code in this file, but when I click in the search box to type it disappears. Any ideas?
Thanks, my website is at http://www.solidarity.asn.au
Thanks. I’ve tried changing the default block header style but doesn’t affect the related posts header, but no big deal.
So there’s no easy way to set a default placeholder image for posts with no featured image? I can see an image from /wp-content/themes/Newspaper/images/no-thumb/thumbnail.png on mobile but it just appears white on desktop. Could I edit that image?
And one final question, how could I reduce the height of the space above and below the header logo on header style 9? I found the link below for header style 7, can this be adapted?
https://forum.tagdiv.com/topic/newspaper-header-area-height/
Ok thanks.
Is it possible to hide the “More from author” option on related posts? It’s confusing on my website all posts are uploaded by one user despite the fact they are written by different authors.
The General Theme Colours option for Theme Accent Colour seems to set the background on the related posts bar. It has to be a colour otherwise text with hyperlinks appear blank on a white background. But I don’t understand why I have a bar (see this post http://www.solidarity.asn.au/unions/sydneys-rail-strike-banned-time-fight-right-strike/)
as opposed to the header style shown here https://forum.tagdiv.com/related-articles/
Finally can I set a default image as the placeholder image where posts have no featured image? Otherwise all my related articles and category pages are going to have the gap. I can’t have a featured image on every single post as I have thousands of posts.