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
  • Adjusting collapsible text from your desktop site
  • Adding mobile-only collapsible text
  • Adjusting the layout and behavior of the text box
  • Editing your collapsible text on mobile

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

In this article
  • Adjusting collapsible text from your desktop site
  • Adding mobile-only collapsible text
  • Adjusting the layout and behavior of the text box
  • Editing your collapsible text on mobile
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.

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 to Mobile 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 to Mobile  on the left side of your mobile editor.
  2. Click Text.
  3. Click Collapsible Text.
  4. 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 your mobile editor.
  2. Click the Layout icon .
  3. Select an option under Choose how the text appears: 
    • Collapsed: Your visitors can click an expand button to view the full text on the page, and then click another to collapse the text.
    • 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.
screenshot of collapsible text layout box in mobile editor.

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 Change 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

Helpmate

Hello

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