# Customizer: path in element attribute

**URL:** <https://forum.pinegrow.com/t/customizer-path-in-element-attribute/854>\
**Category:** Pinegrow WP\
**Tags:** tutorial\
**Created:** [April 13, 2017, 4:58pm UTC](https://forum.pinegrow.com/t/customizer-path-in-element-attribute/854 "2017-04-13T16:58:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![24degrees](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/24degrees/32/136_2.png) [@24degrees](https://forum.pinegrow.com/u/24degrees)\
**Post date:** [April 13, 2017, 4:58pm UTC](https://forum.pinegrow.com/t/customizer-path-in-element-attribute/854/1 "2017-04-13T16:58:11Z")

</div>

Hi all, hope you are all doing fine.

I am looking for a solution to this: I have html code with some attributes in it, for a parallax effect, like this:

`<div id="headerJumbotron" class="jumbotron parallax-window" data-parallax="scroll" data-speed="0.3" data-bleed="1" data-position-y="top" data-image-src="<?php echo get_stylesheet_directory_uri(); ?>/img/roadWithBendsAheadSign2.jpg">`

What I’m trying to achieve, is to set the data-image-src attribute using the customiser.

So, it should be possible to give in a path, using the customiser, to change the value of data-image-src, being `<?php echo get_stylesheet_directory_uri(); ?>/img/roadWithBendsAheadSign2.jpg`

Is that even possible?

Thanks for all your advice!

---

<div class="post-metadata">

**Author:** ![24degrees](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/24degrees/32/136_2.png) [@24degrees](https://forum.pinegrow.com/u/24degrees)\
**Post date:** [April 15, 2017, 10:27am UTC](https://forum.pinegrow.com/t/customizer-path-in-element-attribute/854/2 "2017-04-15T10:27:53Z")

</div>

Never mind. Found it.

In the customiser section of Pinegrow, there’s a ‘theme mod to attribute’ section. You can use that for it.
