page header

Page Header not showing up on Posts page

Hi, I created a custom page header, then assigned it to all Global Locations. The Page Header includes the following code: <h1 class=”header1″>{{post_title}}</h1> It works on all pages except the page that shows my latest posts, which is /blog/. On the Blog page, it renders <h1 class=”header1″></h1>, but it doesn’t include the page name, Blog. … Read more

Page Specific Headers

Hi Tom and Leo, Could you direct/guide me on how to create specific headers for individual pages? This is for the main header above GP Premium page headers. In another thread you wrote this: “If you want the main header (where I have the GeneratePress logo above) to be different on each page, you’ll need … Read more

Page Headers blocking Google Fetch and Render

GP Page Headers appear to be blocking Google’s Fetch & Render in GSC. My homepage has a fullscreen page header and the only portions of the page Google would fetch and render was the navigation and page header (with background image and content). But none of the almost 1300 words in the page content was … Read more

Sticky Navigation Logo Color Issue

Hi Tom, I’m trying to achieve this site navigation effect: https://halanbrickleylaw.com/ (not my site; and I only have a local website I’m trying to design). White Logo and Menu text on image or colored background, but then when scrolling down the page, switch to black Logo and Menu text on white background. This is what … Read more

Links not working in Page Headers

Just noticed a weird problem and can’t figure out why its happening. Links in Page Headers aren’t working. The anchor text can be selected, but they can’t be clicked. I’ve never run into this before. I tried replicating across a couple different page headers on the site with no luck.

Page Header Template Tag Inside a ShortCode

I have written a custom shortcode which outputs the following HTML. When expanding the shortcode, GP is not expanding the template tags inside the HTML. So the rendered text does not include the full post title (or any other template tags). Is this by design or is there is a work around it? <header class=”entry-header … Read more

Page header image above menu

Hello. I’ve tried this approach you told here: https://generatepress.com/forums/topic/page-header-image-above-menu/#post-288568 to place the page header image above the nav menu and it works in all pages but the posts pages. This is the function used in my functions.php function dom_mover_navegacion() { remove_action( 'generate_after_header', 'generate_add_navigation_after_header', 5 ); add_action( 'generate_after_header', 'generate_add_navigation_after_header', 15 ); } add_action( 'after_setup_theme','dom_mover_navegacion' ); Could … Read more

Vertical center content not line wrapping in Internet Explorer

I may have actually found a bug. Or I’ve done something wrong 🙂 Regardless, when “vertical center content” option is selected to a page header, none of the associated content is line wrapping inside Internet Explorer (most recent version). All if fine on other browsers, just IE (of course). Here are the PAge Header Settings: … Read more