Site logo

Archived topic

Adjust Header

25 replies · Started by John on January 9, 2018

Viewing posts 1–15 of 26

I can't seem to find much on how to adjust my header. Some of the things that show up in the video like Logo aren't in my system...

I need to be able to get my header to NOT show text over it.

Also I can't get it to be the full size graphic. It cuts off the bottom of the image.

Where are the tutorials on this?

I want the image to be on the home page. And then another smaller image on the sub-pages.

An example would be http://www.Premiercarpetclean.net

How would I have a separate image on the home page an another on the subpages?

I think I know how to fix that...But the bigger problem I'm having right now is having first is how to make the entire image show up without the words on top.

It's frustrating that there's not more training info on how to adjust the header.

I can't make the header full screen width. How do I make it wider without words on top of the header image?

Instead of using the Page Header module for this, upload your logo using the instructions Leo linked to: https://docs.generatepress.com/article/site-identity-overview/

The Page Header is more geared towards background images with content on top of them, which your current header isn't built for.

Doing that will get you much closer to the example you linked to.

Let me know if that helps or not :)

Ok...but how do I get it to be all the way accross the screen?

Ok, I figured out how to make it full screen. But I'd like to remove the name of the page...

As it is, on the Home page it says, "Home" at the top. How do I remove that?

I assume it's Disable Elements, but my screen doesn't show the same as in the tutorial.

Yes, disable elements is activated.

It's not showing up in the customize area under Layouts. Did it move somewhere else since you guys did the tutorial?

Where does this go?

generate_show_title
The generate_show_title filter allows you to choose whether to display your page titles or not.

Default (boolean): true

The Using Filters link doesn't give any specifics about where to put this code. Is it the CSS? Index page code?????

And how do I get a different header image to show up on sub pages that is different from my home page?

The last sentence in Using Filters article did suggest it's PHP and link you to a page with methods: https://docs.generatepress.com/article/using-filters/

So you want to replace this image: http://freshncleanswfl.com/wp-content/uploads/2018/01/cropped-Freshncleanheader-1.jpg on different pages?

This is not commonly requested. If so we would need to use the Before Header Content hook with conditional tags:
http://demo.generatepress.com/hook-locations/
https://docs.generatepress.com/article/using-hooks-conditional-tags/

Uh, yeah, I guess it "suggested" that it was PHP...but it surely didn't tell me where to put it...neither did any of the info I looked at on those links.

Is it in the Functions.php file?

It says I need to create a child theme first. The other theme I used would auto-create a child theme for me, so I haven't done that in a long time. Can you lead me to where I can get info on creating a child theme?

I'd really hoped for more tutorials on all this and if not, more solid tips on how to do it.

There's a couple methods we suggest for adding PHP: https://docs.generatepress.com/article/adding-php/

I like the Code Snippets plugin as it catches potential errors for you.

The Using Filters page links to the Adding PHP article at the bottom, but it's not very visible. I'll get those looking more obvious ASAP :)

Ok, how do I create a child theme?

This archived topic is closed to new replies.