Skip to main content
Ignore attributes
Updated over a week ago

Our Widget offers several customizations, but did you know you can unlock even more? By bypassing certain settings, you can tailor your widget to better suit your preferences.

Line Height:

Attribute: data-uw-ignore-s17

When enabled, this function will improve readability by adjusting line spacing to your liking.

Example usage:

<p data-uw-ignore-s17>This is a paragraph with customized line height.</p> <span data-uw-ignore-s17>This is a span with customized line height.</span>

Text Spacing:

Customize character and line spacing for a better visual appeal.
Attribute: data-uw-ignore-s14

Example usage:

<p data-uw-ignore-s14>This is a paragraph with customized text spacing.</p>
<span data-uw-ignore-s14>This is a span with customized text spacing.</span>

Contrast:

Ensure optimal visibility by excluding specific elements from contrast adjustments.

Attribute: data-uw-ignore-s3

Example usage:

<p data-uw-ignore-s3>This is a paragraph with excluded contrast adjustment.</p>
<span data-uw-ignore-s3>This is a span with excluded contrast adjustment.</span>

Highlight Link:

Customize link appearance to seamlessly integrate them into your widget’s design.

Attribute: data-uw-ignore-s6

Example usage:

<a href="#" data-uw-ignore-s6>This is a link with customized appearance.</a>

Live Site Translation:

Exclude specific elements from automatic translation to preserve essential content accuracy, such as people's surnames and company names.

Attribute: data-uw-ignore-translate="true"

Example usage:

<p data-uw-ignore-translate="true">This paragraph will not be translated.</p>
<span data-uw-ignore-translate="true">This span will not be translated.</span>

Implementation Tips:

  • Apply attributes directly to target elements.

  • Experiment with different combinations for the best results.

  • Seek user feedback to ensure enhancements improve the overall experience.

For any questions on how to use this, feel free to contact UserWay technical support.

Did this answer your question?