header-logo
Getting started with WixBuild your website and business with Wix. Try using our AI tools to create your website, customize templates, or hire professionals to build or enhance your online presence.
Creating a websiteRead how to use the Wix Editor and manage content on your site. Discover how to protect your visitors' privacy and make your site accessible.
Account & billingReview your account settings, manage your subscriptions and plans and understand your invoices.
Using the Wix mobile appsUse our mobile apps to run your business efficiently on the go and set up a dedicated app for your site members to stay in touch.
Connecting a domainFollow our step-by step guides to learn how to purchase, connect or transfer a domain for your site, and find out how to keep your site’s data secure.
Managing your businessGet tools to grow your business and web presence. Find the right tools for your specific needs, set up online payments and keep track of your site's analytics.
Promoting your siteLearn to make your site more visible promoting it on search engines, sending emails and running paid ads. Improve your online presence with practical tips.
Studio, Partners & EnterpriseGet the most out of your Studio or Enterprise account with advanced features that'll help you work more efficiently.
Need more help?Find solutions for site performance and technical issues, learn about issues we’re working to fix or contact us for help.
placeholder-preview-image
Wix LearnImprove your skills with our courses and tutorials.
Wix BlogGet tips for web design, marketing and more.
SEO Learning HubLearn to increase organic site traffic from search engines.
Website developmentBuild a custom site using our full-stack platform.
Hire a ProfessionalGet matched with a specialist to help you reach your goals.
placeholder-preview-image
In this article
  • Adding collapsible text
  • Setting up your collapsible text
  • Designing your collapsible text

Wix Harmony Editor: Adding and Customizing Collapsible Text

In this article
  • Adding collapsible text
  • Setting up your collapsible text
  • Designing your collapsible text
Collapsible text is ideal for sharing lots of information without overwhelming your page. Only part of the text is visible at first, visitors can click an expand button or a link to reveal the rest.
Screenshot of lanfing page of site built with Harmony Editor showing collapsible text.

Adding collapsible text

Start by adding a collapsible text box to your site. Choose from a variety of styles, fonts, line counts, and other settings to match your content and design.
Did you know?
Collapsible text boxes can hold up to 120,000 characters, so they're great for displaying long bodies of text.

To add collapsible text:

  1. Go to your editor.
  2. Click + Add at the top left of the editor.
  3. Select Elements.
  4. Click the Text icon  on the left.
  5. Select the Collapsible Text tab.
  6. Click or drag your chosen text style onto your page.
  7. Double-click your new text box to add your words.
  8. Customize the font, color, and style to match your site’s look.
Screenshot of add elements panel in wix harmony editor. The collapsible text is selected.

Setting up your collapsible text

Once you’ve added the text box to your page, decide how visitors can access the full text. Add a button to expand the content on the same page, or create a link that leads to the complete text elsewhere. Set options for alignment, spacing, and how many lines are shown before visitors need to click.

To adjust the text's layout:

  1. Go to your editor.
  2. Click the collapsible text.
  3. Click the Settings icon  on the action bar.
  4. Adjust any of the following settings:
    • Choose a Collapsible Text part: Decide whether you want to edit the Collapsible text or the Button.
    • Choose what the button does: Decide if your button expands the text or acts as a link.
    • Expands: Enter the text that should appear on the expand button and the button visitors click to collapse the text (e.g. 'Read more' and 'Read less').  
    • Links: Enter the text that should appear on the button visitors click, as well as the URL to the full piece of text.
    • Accessible name: When you edit the button, enter a short description that tells screen readers what the button does (for example, “Read more about this section”).
Screenshot of collapsible text settings and link panel in wix harmony editor

Designing your collapsible text

You have full control over the look and feel of your collapsible text. Design the collapsible text itself and the button visitors click to read more — fine-tune everything from fonts and colors to alignment and spacing.

To design your collapsible text:

  1. Go to your editor.
  2. Click the collapsible text.
  3. Click the All design options icon  on the action bar.
  4. Select the relevant part of the collapsible text under Choose what to design.
    • Collapsible Text: Increase or decrease the space between the text and the button. You can also decide how many rows of text are displayed. 
    • Text: Adjust the text's font, formatting, alignment, capitalization and more. You can also choose whether or not to apply the site's direction to the text (i.e. left-to-right or right-to-left).
    • Button: Design the button visitors click to read more. Change the fill color, borders, corners, shadow and spacing. You can also adjust the alignment and choose whether or not to apply the site's direction to the button (i.e. left-to-right or right-to-left).
    • Text: Adjust the text that appears on the button. Change the font, formatting, alignment, capitalization and spacing. You can also apply shadow for a 3D effect.
screenshot of collapsible text design settings in with harmony editor.

Helpmate

Hello

Need a bit more guidance?
Unlock personalized helpLog in to get the most out of Helpmate.