- This topic has 11 replies, 3 voices, and was last updated 4 years, 2 months ago by Leo.
-
AuthorPosts
-
January 16, 2020 at 4:02 am #1133866Michael
Thought it would be with the Elements feature, I tried experimenting with that, and the best I achieved was a thin strip of featured image which didn’t parallax scroll. Couldn’t find any settings to make this element bigger. I did enable parallax and did check the hide featured image.
Basically, the featured images on my site are large, and I’d like for the content to scroll up and over the featured image, and hoped parallax might do this?
January 16, 2020 at 5:56 am #1133950DavidStaffCustomer SupportHi there,
you can increase the height of a Header Element ( so more featured image is visible ) by increasing the Top and Bottom Padding in the element settings.
January 16, 2020 at 7:14 am #1134174MichaelI have it working now David, not sure how to move the text around inside the element, it seems to align with the top of the featured image. I’d like it aligned to the bottom, but I’m sure I can figure that out.
What I can’t find a setting/solution for is to make it stretch to the sidebar instead of across the container. I’ve set both settings to contained.
January 16, 2020 at 7:37 am #1134187DavidStaffCustomer SupportTo align the content to the bottom of the Header Element simply add Top Padding only and zero out the bottom padding.
Do you want the header element within the primary content so it sites to the left of the sidebar?
January 16, 2020 at 7:48 am #1134204MichaelHi David,
Yes that’s what I was after so the primary content has the featured image across to the left of the sidebar. I’ll try the other with the padding, thanks.
Can’t believe I didn’t know this feature was here. Excellent.
January 16, 2020 at 8:02 am #1134215MichaelAlso, I found the code in the forums here to adjust the speed of the parallax, does this control how quickly it moves, or how quickly it starts? It seems to be the former. Is there a way to adjust how quickly it starts to move. What I mean is when I scroll down, it seems to parallax too late to see the effect.
If it started sooner, it would look better.
Thanks for all your help.
January 16, 2020 at 8:46 am #1134257DavidStaffCustomer SupportYou can use the PHP Snippet to move the Header Element above the post content:
https://docs.generatepress.com/article/generate_page_hero_location/
This filter adjusts the speed:
https://docs.generatepress.com/article/generate_page_header_parallax_speed/
There isn’t much other control for the parallax unfortunately.
January 16, 2020 at 12:33 pm #1134418MichaelThanks for your replies David, much appreciated.
January 16, 2020 at 1:03 pm #1134433MichaelI notice there’s a delay before the side bar is displayed when using the header element, I closed this as the solution was there, but now I’m jumping between posts, although the header element looks great. The delay before the sidebar loads is a bit annoying. Any ideas what is causing that ?
January 16, 2020 at 2:51 pm #1134501LeoStaffCustomer SupportAny chance you can open a new topic for the separate question?
Thanks ๐
January 17, 2020 at 3:48 am #1134857MichaelOf course, I was in two minds about that, I realised it was a follow on, but it is about something different.
January 17, 2020 at 6:29 am #1135018LeoStaffCustomer SupportThanks ๐
-
AuthorPosts
- You must be logged in to reply to this topic.