Dec 13, 2024
Understanding Modifications
Optimal UX helps you make changes to your website without touching the code. Whether you need to update content, modify styles, or restructure elements, this guide will help you understand the available modifications and how to use them effectively.
Update Content
Update Content replaces existing content while keeping styling intact. It's perfect for updating text, headlines, or HTML content, like changing "Sign Up" to "Get Started Free" on your buttons.
Add to Beginning and Add to End insert new content inside existing elements. Use these when you need to add labels, badges, or additional information without disturbing the existing content. For instance, you can add a "New!" badge before a menu item or append "Limited Time" after a price.
Style and Attribute Changes
Update CSS lets you modify how elements look without changing their structure. You can adjust colors, sizes, borders, and other visual properties to match your design needs.
Update Attributes helps you modify element properties and create new ones. This is particularly useful for updating links, images, or form fields while preserving existing functionality.
While Update Attributes replaces existing attributes, Append to Attribute adds to them.
Structure Changes
Replace Element completely swaps out existing elements with new ones. This is ideal for major changes, such as replacing a simple button with a complex call-to-action or converting a text input into a dropdown menu.
Insert Before/After adds new elements around existing content. Use these modifications to add promotional banners, notices, or any new content that should appear before or after existing elements.
Visibility Changes
Hide Element makes elements invisible while maintaining the page layout. It's perfect for temporarily removing seasonal content or features without affecting surrounding elements.
Delete Element completely removes elements and their associated space from the page.
Best Practices
Modification Order Matters: Changes at the top of your modification list take precedence over those below them. If you have conflicting modifications, consider their order.
Be Specific: Target only the elements you need to change. Being too broad with your selections can affect performance and cause unexpected changes. Also remember that CSS selectors can match different elements across different pages. For example, the selector
.header-title
might match your blog post titles and your product titles simultaneously but they all will get the same content.Test Your Changes: Use the preview feature to ensure your modifications work as expected before publishing.
Use the Active Toggle: Each modification has an "Active" toggle. Use it to temporarily disable modifications without deleting them – perfect for testing or seasonal changes.
Read more:
Locating Elements on Your Page: A Guide to CSS Selectors
A comprehensive guide to locating and selecting webpage elements using CSS selectors in OptimalUX. Learn how to target specific content, styles, and structure for your A/B tests using supported selectors, including pseudo-selectors and attribute matching. Perfect for marketers and product teams running website experiments.
Dec 13, 2024
📁 A/B testing
📁 SEO
📁 Server-side testing
Maximizing Conversion Rates: 7 Key Strategies for Effective Call-to-Action Design
Discover 7 key strategies for effective call-to-action design to maximize your conversion rates. Learn how to enhance visibility, craft compelling copy, and implement data-driven CTA strategies.
Oct 25, 2024
📁 A/B testing
📁 A/B testing
📁 A/B testing
📁 A/B testing
A/B testing quickstart guide
A/B testing is simple, yet powerful! Start experimentation in 2 easy steps: make changes, define your goal
Aug 29, 2024
📁 A/B testing
How it works
Server-side A/B testing for seamless performance and accurate, reliable results without JavaScript delays.
Aug 29, 2023
📁 A/B testing
📁 Client-side testing
📁 Server-side testing
📁 Installation