# Add "attribute" type to Customizer Smart Field

**URL:** <https://forum.pinegrow.com/t/add-attribute-type-to-customizer-smart-field/6858>\
**Category:** Feature Request\
**Tags:** wordpress\
**Created:** [August 26, 2022, 1:49pm UTC](https://forum.pinegrow.com/t/add-attribute-type-to-customizer-smart-field/6858 "2022-08-26T13:49:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamslowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/adamslowe/32/4590_2.png) [@adamslowe](https://forum.pinegrow.com/u/adamslowe)\
**Post date:** [August 26, 2022, 1:49pm UTC](https://forum.pinegrow.com/t/add-attribute-type-to-customizer-smart-field/6858/1 "2022-08-26T13:49:11Z")

</div>

Is it possible to add an attribute option to the edit menu on the customizer smart field?

My use case is that I want to use a srcset picture element to display my logo in a WordPress theme where I have a default SVG logo with a PNG fallback.I can use the image option to easily set the PNG version either with a custom customer item or the default WP logo, but I don’t see a good way to add sources since I can’t set attributes.

![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/0/065902f2db4a89f9714e236a7b814464cc6d6b06.png)
