Site logo

Header

Transparent header / beaver Builder

Generatepress and Beaver Builder As a lot of sites tend to use the minimal look (logo left & hamburger right on transparent header), I read through the forums and blocked the position of the header as Tom from GP suggested: .site-header { position: absolute; top: 0px; left: 0; width: 100%; z-index: 1000; background-color:transparent; } Also … Read more

Header image disappeared with update

Hi. it has been a long time since I touched a website, and that time has been full of drama. So, I return with much puzzlement to a website I made a year back. I updated WordPress + GP (free version + add-on for spacing), and my header has disappeared! I’ve added a widget in … Read more

Parallax in Page Header & Section

Hi, I see a difference between Page Header and Section with the parallax option. The effect is not going in the same direction. I try to simulate the Header Page parallax effect with : add_filter( 'generate_sections_parallax_speed','generate_custom_parallax_speed' ); function generate_custom_parallax_speed() { return -2; } Speed and direction are ok but the background image is repeated on … Read more

Single Page PHP

Hi, On my site http://shortdailydevotions.com, I have moved the post title to the header and hidden the post title in the content via css. This is what I use in the GP hooks <?php if ( is_single() ) : ?> <div class="page-header-content generate-page-header generate-content-header"> <div class="grid-container"> <div class="above-header-title"> <center><?php single_post_title(); ?></center></div> </div> </div> <?php endif; … Read more

Replace Header Text

Out of the box, GeneratePress has a text header title. For reference, it’s the text that happens within the place “main-title”. (I’m not referring to the page title that appears in the browser title bar.) I’d like to dynamically change this text with a php function. I’ve already written the php function and it works … Read more

Avoid using original image for featured header image?

When I use a featured / header image above the title, for a blog post. It looks ok, but it is using the original full width image (downsized using HTML/CSS), which is much larger that it needs to be. This slows down the loading of the pages and is not ideal. I understand that using … Read more

Remove Category Page Header

I found code in the forums… but it doesn’t seem to be working on my site – so I must be doing something wrong. I’ve added the following code with the “WP Add Custom CSS” plugin: <!– Remove Category Page Header –> .category .page-header { display: none; } .category .page-title { display: none; } <!– … Read more