- This topic has 9 replies, 2 voices, and was last updated 3 years, 11 months ago by David.
-
AuthorPosts
-
April 5, 2020 at 3:25 am #1227094ch1800
As noted at the another thread #1225895, I’m migrating an existing site to GP and here is the temp working URL.
I have added the link to current site for comparison at homepage header.A few preliminary questions:
– why the NEWS page keeps taking the title “blog” although the page itself has another title?
– single pages and posts do not have the same margins – how to set single posts with same margins as pages?
– single posts display their corresponding category at bottom of content – possible to move it on top, next to the date?
– I have set a single image as header background everywhere, but that way featured images are not displaying anymore – is there a way to automatically add featured images on top of single pages & posts?Thanks for your help as always!
April 5, 2020 at 6:21 am #1227212DavidStaffCustomer SupportHi there,
1. For the Blog you will need to create a separate Header Element for it and manually add the title ie. <h1>News</h1>.
Make sure to exclude the Blog from your current header element.
2. Any specific pages to compare ? I can see a slight difference between the Home and the internal pages/posts – this is due to the Container Alignment setting in Customizer > Layout > Container
3. This PHP Snippet will do that:
https://docs.generatepress.com/article/generate_header_entry_meta_items/4. You can set the Header Elements > Background Image to Featured Image.
April 5, 2020 at 6:48 am #1227234ch1800Thanks!
1. Will do, but does that mean that current
<h1>{{post_title}}</h1>
in Header Element takes into account the slug and not the page title? Possible to change that?2. Yes, please click on any page at menu, ie. About, and compare the margins with any blog post from the list in News. I don’t well understand what to change in Container Alignment. I only have global settings and for the Blog everything is set to Auto.
3. Works fine, thanks.
4. No, I don’t want the Featured as Header. I’ll keep a fixed header image and I just want to use the featured inside the single post page, on top of page, above the title.
April 5, 2020 at 6:57 am #1227242DavidStaffCustomer Support1. the
{{post_title}}
displaysthe_title()
of the post. The Blog is not a post is created by a function and therefore the title function does not exist. Instead GP adds ‘Blog’ as a filler so something is displayed.2. In Customizer > Additional CSS – remove this:
body.single .site.grid-container { max-width: 1000px; }
3. Edit the Header Element, temporarily switch Background Image to Featured Image – you will see
Disable Featured Image
option. Make sure this Unchecked.April 5, 2020 at 7:09 am #1227253ch1800Yep, yep, yep!
All set and thanks a lot.I still have a couple of other questions for the same but for clarity prefer to open another ticket.
April 5, 2020 at 7:10 am #1227254DavidStaffCustomer SupportGlad to be of help
April 5, 2020 at 9:02 am #1227497ch1800Sorry but I just realize that since I implemented #3 above it somehow broke the layout for pages.
It works fine for posts, but pages have issues displaying correctly the featured image, for instance the About page.Should I make another header element only for pages?
April 5, 2020 at 10:49 am #1227619DavidStaffCustomer SupportGo to Customizer > Layout > Blog –> Featured Images, select the Pages tab and change the Location to Above Title
April 5, 2020 at 7:11 pm #1227930ch1800Sometimes I wonder how you can see inside our sites’ customizers – is this telepathy ?๐
That was it, thanks again!April 6, 2020 at 2:34 am #1228173DavidStaffCustomer SupportHaha ๐
Glad to be of help.
-
AuthorPosts
- You must be logged in to reply to this topic.