Add scrolling parallax picture

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri May 31, 2013 9:13 pm
Reply with quote
Report this post
First off, I LOVE this template. This made renewing my membership worth it.

I would like to add a parallax scrolling picture in the white space behind "Directory"

I am not 100% sure how parallax works, I understand the concept, and I see it is already utilized on the site for the slider.

Can we make this happen??

http://stpeteartsalliance.org/final/

THANKS!

Craig
User avatar
Expert Boarder

GK User
Sat Jun 01, 2013 10:19 am
Reply with quote
Report this post
Hi,

In this case you have to just put the background-image with your image for #gkBottom1-1 and use:

Code: Select all
background-attachment: fixed;
User avatar
Administrator

GK User
Sat Jun 01, 2013 5:47 pm
Reply with quote
Report this post
Thanks. I set the background image for the module but it only sets the image for a small area in the center of the module (around the contents of the module position). I want to cover the whole area, as suffix "greybg" does.

Additionally, I put the code into the override file but the picture still scrolls with the site. Yes, my override is ON.

:)
User avatar
Expert Boarder

GK User
Sat Jun 01, 2013 8:25 pm
Reply with quote
Report this post
Please use !important in the all CSS properties, additionally you can add:

Code: Select all
background-size: cover;
User avatar
Administrator

GK User
Sat Jun 01, 2013 8:39 pm
Reply with quote
Report this post
Seems to not be working. Hmm...
User avatar
Expert Boarder

GK User
Sat Jun 01, 2013 9:23 pm
Reply with quote
Report this post
Please send me an PM message with your FTP access and the website URL, please also write which image should be placed as a background image - then tommorow I'll implement this feature.
User avatar
Administrator

GK User
Sat Jun 01, 2013 9:57 pm
Reply with quote
Report this post
Sent. I look forward to your support! Thank you!!
User avatar
Expert Boarder

GK User
Sun Jun 02, 2013 9:15 am
Reply with quote
Report this post
I've added all my changes at the end of the css/template.css file, additionally I've added small fix in the js/gk.scripts.js file which will be included in the nearest update.

I've added the backgrounds and I've also adjusted the color of the modules to these backgrounds (grey text looked bad over the background-image).
User avatar
Administrator

GK User
Sun Jun 02, 2013 2:02 pm
Reply with quote
Report this post
You just made my day! Thank you so much!

I knew the grey and black would look bad, I was already planning on changing it. You saved me 10 minutes!

I really appreciate your assistance!
User avatar
Expert Boarder


cron