Wix Editor: Adding and Setting Up Collapsible Text on Your Mobile Site

6 min read
Collapsible text can help you show information on your mobile site in a concise way that invites visitors to read more. Parts of the text are hidden, and visitors can view the full text by clicking a button that expands it, or a link to a separate page.
There are two types of collapsible text that you can have on your mobile site:
  • Collapsible text carried over from the desktop Editor
  • Collapsible text that you add from the Add panel in the mobile Editor. This is mobile-only text, and does not appear on your desktop site.
Not sure if it's a desktop or mobile element?
Mobile-only elements display a mobile icon when you click them in the mobile Editor.
In this article, learn more about:

Adjusting collapsible text from your desktop site

Collapsible text that you add to your site in the desktop Editor automatically appears on mobile. You can adjust the size, layout, and design of the text box to look how you want, or hide it from your mobile site completely. This doesn't affect how it looks on your desktop site. 
Click an option below to learn how to adjust your collapsible text for mobile.

Adding mobile-only collapsible text

Add collapsible text from the Add panel in the mobile Editor. These text boxes are only visible on your mobile site, and allow you full control over the settings and content.

To add mobile-only collapsible text:

  1. Click Add  on the left side of the mobile Editor.
  2. Click Text.
  3. Click Paragraphs.
  4. Scroll down to Collapsible Text.
  5. Click and drag your chosen text box to add it to your site.
The Add panel in the mobile Editor. The cursor is hovering over a collapsible text pre-set.

Adjusting the layout and behavior of the text box

After adding mobile-only collapsible text, choose how visitors can view the full body of text. You can also adjust its spacing and alignment. 

To adjust the layout of your collapsible text box:

  1. Click the collapsible text box in the mobile Editor.
  2. Click the Layout icon .
  3. Select an option under How do visitors read more text?: 
    • Expand: Your visitors can click an expand button to view the full text on the page, and then click another to collapse the text.
    • Click link: Your visitors can click a link to view the full text on the relevant page.
    • Show all text: The entire text piece is displayed on your site, and is not collapsed.
  4. Choose how many lines of text are displayed in the preview under Number of lines displayed.
  5. Under Align button, select whether the expand / link button is aligned to the left, center, or right of the text.
  6. Drag the slider under Spacing between text and button to increase or decrease the space between the two.
The collapsible text layout panel. The icon has been highlighted.

Editing your collapsible text on mobile

Once you've chosen how visitors view the full body of text, enter the text piece into the box. You can also edit the text for your expand button, or set up the link that directs your visitors to the complete body of text.

To edit your collapsible text:

  1. Click the text box.
  2. Click Change Text.
  3. Type or paste your chosen text into the box under Edit Text.
  4. Set up your link / expand buttons leading to the full text:
    • Expand / collapse buttons: Enter the text for the expand and collapse buttons in the fields.
    • Link to full text: Enter what you want the link to say, and add the link type and details.   
  5. (Optional) Select your text's HTML tag from the dropdown menu under SEO & Accessibility to define its text type (a heading, paragraph, etc). Learn more about defining your text
The text box settings panel. The cursor is hovering over the option to edit the text displayed on the collapse button.
Notes:
  • Collapsible text boxes can hold up to 120,000 characters.
  • Options shown depend on how you choose to display the full piece of text (an expand / collapse button, or a link button).
What's next?
Further adjust your text's design to look exactly how you want. Click here to learn how to adjust collapsible text on your mobile site

Did this help?

|