- This topic has 11 replies, 2 voices, and was last updated 6 years ago by Tom.
November 27, 2017 at 4:05 pm #436393Jason
for example, this website http://www.latinmotion.com.au/ i want to copy their content bg image, and is behind the nav menu bar, and when you scroll the page up it covers it up, so it sorta sits in the background.
how do I achieve this with GP Premium? thank you
I am trying to get that image I have on my client’s webpage to be sorta the same, as I dont like the current look, thanksNovember 27, 2017 at 7:31 pm #436527TomLead DeveloperLead Developer
Have you tried using the Page Header add-on? You can set an image as the background, then apply it to your home page.
1. Add a new page header in “Pages Headers > Add New”.
2. Add an HTML comment in the content field:
<!-- page header -->
3. Upload a featured images, and enable the “Image background” option in the Content section.
4. Add a top/bottom padding value, to give the page header some height.
Then you can apply that page header to any page by using the Page Header metabox while editing the page.
Lots more info on Page Headers here: https://docs.generatepress.com/collection/page-header/November 27, 2017 at 9:48 pm #436626Jason
far dude, that didn’t make any sense to me. too many steps and have no idea, u said to enable background image in content section but there is no enable background image there. and what does that have to do with featured images? they are supposed to be 2 separate things.November 27, 2017 at 9:55 pm #436632Jason
also i want in under the header, meaning under the main menu bar, so why would I add it to the header? doesn’t make sense.November 27, 2017 at 10:11 pm #436634Jason
ok I figured out adding the page header, but how do I get the content to scroll over it? so the image is in the background? as I showed you on this website http://latinmotion.com.au/
see how their content scrolls over their page header?November 27, 2017 at 11:10 pm #436657TomLead DeveloperLead Developer
Can you show me the page you’re working on so I can see where you’re at?November 27, 2017 at 11:19 pm #436659Jason
this is just a test site I use to test things out, but I did it to the below URLNovember 27, 2017 at 11:20 pm #436660Jason
the header image is just static and the below content will not scroll over itNovember 27, 2017 at 11:31 pm #436665TomLead DeveloperLead Developer
That’s just using a static image – it needs to be a background image in order to set it to fixed.
Here are the settings I explained above: https://www.screencast.com/t/5QHUJKdeBx2
It seems like a lot of steps, but it’ll only take you a couple minutes if you do them one step at a time 🙂November 27, 2017 at 11:54 pm #436678Jason
I dont get the upload a featured image ? what for? if the image is already there? sorryNovember 27, 2017 at 11:56 pm #436681Jason
got it!!!!! finally lol thanksNovember 27, 2017 at 11:57 pm #436685TomLead DeveloperLead Developer
You’re welcome 🙂
- You must be logged in to reply to this topic.