- This topic has 5 replies, 2 voices, and was last updated 8 years, 6 months ago by
Tom.
-
AuthorPosts
-
September 10, 2017 at 1:12 am #382616
Satori
Copied from my post on Facebook:
Tom I recently asked for support for setting the header image to be: Center Center. I was provided with a css code that did the job (Thank you so much Leo). Anyway I noticed that everything looks fine when you open the post, but when scrolling down the picture doesn’t move properly (I have parallax active) and the picture returns to default position, no longer center center.
I suppose this is a bug so I’m reporting it, and anyway it would be a nice feature have the option to set the position of the page image.
Example link: https://luzocultaoficial.com/2017/09/09/netflix-death-note-una-adaptacion-olvido/
September 10, 2017 at 9:15 am #382794Tom
Lead DeveloperLead DeveloperThe issue here is the parallax script sets up the position of the image, which clashes with center center. I’ll see if I can tweak the script to work with any position.
September 10, 2017 at 12:00 pm #382865Satori
Amazing! Thanks Tom.
September 12, 2017 at 2:01 pm #384198Tom
Lead DeveloperLead DeveloperLooking at this some more. The issue is that the parallax effect works by moving the background position from the top of the image to the bottom.
The trouble I’m having is there no way in javascript to calculate the relative position of “center”. So the script can’t see the y position as center, and then change the value based on that initial value.
Not sure if I’m explaining that clearly – it’s complicated! I’ll continue looking, but it’s looking like the parallax option will require the vertical position of the background image to be 0.
September 12, 2017 at 2:58 pm #384235Satori
I’m not a programmer but I totally understand the challenge! For me it’s ok, I can use the default position. I just wanted to report what I discovered, not try to bring you troubles. I actually noticed this also happens with Elementor, it must be for the same reason.
Thank you so much Tom! I’m looking forward the Blog Addon update and what you announce some weeks ago about some Child Theme related stuff.
Best vibes from Mexico.
September 12, 2017 at 8:46 pm #384336Tom
Lead DeveloperLead DeveloperYea, not an easy one. I’ll keep an eye out for a solution.
Thank you! Blog update is almost ready for alpha testing 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.