Parallax settings

Beautiful and responsive WordPress theme with amazing parallax effect.
GK User
Tue Oct 02, 2012 11:27 am
Hi there,
Do you have any documentation for help with editing the CreativeWP parallax settings?
In particular I am looking to add new images and change start/end points.

Many thanks
User avatar
Fresh Boarder

GK User
Tue Oct 02, 2012 6:41 pm
User avatar
Administrator

GK User
Thu Oct 04, 2012 1:31 pm
Okay thank you.
Apologies I am not an expert with this. I need to add links to each of the images within the parallax area. I know that the code onclick="window.open('http://www.link.com')" should be added but it looks like the html for each component is being generated by shortcode from the widgets.

Can you tell me how you would go about adding links to images here?

Thanks.
User avatar
Fresh Boarder

GK User
Thu Oct 04, 2012 8:45 pm
After looking into this today, it appears that I need to replace the shortcode with the below HTML to achieve a link from an image:

<div class="gk-parallax gkp-background" onclick="window.open('http://www.link.com')" data-area="200" data-height="400">

<div class="gk-parallax-wrap">

<div data-start="50%,50%" data-end="50%,100%">Circle</div>

<div data-start="25%,25%" data-end="75%,25%">Square</div>

</div>

<div>Tablet view</div>

<div>Mobile view</div>

</div>

I need to know where the shortcode in your theme is generating this code as I can't seem to locate it in any of the .php files.

I would appreciate your feedback, especially on where to locate the parallax code.
Thanks
User avatar
Fresh Boarder

GK User
Fri Oct 05, 2012 5:23 pm
The shortcodes code is located in the gavern/helpers/helpers.shortcodes.php file. But if you need to deep customize the effect I recommend to use the HTML code directly in the widget. By the way - if you need to create a link from the element please just use the link element instead of using the JavaScript events.
User avatar
Administrator


cron