You can use Velo to control elements so they display only in the mobile version of your site.
The basic steps to set up an element to display only in mobile are:
Enable coding:
Add the element that you want to display only in mobile.
With the element selected, select the Hidden checkbox in the Properties & Events panel. This sets up the element so that when your page loads this element isn't displayed. Make a note of the ID for your element since we'll need to use that a little later.
Now we need to check whether your site is being viewed on a mobile device. Open the code editor. You'll see that following is already written.
Add a line above the first line and enter the following code. This lets your site work with the wix-window-frontend
module, which lets you determine the type of device your site is being viewed on.
Replace lines 2-6 with the following code. This checks the type of device your site is being viewed on. It then sets the element that you set to be Hidden to be displayed for mobile only.
To make this code work with your element, replace button8 with the ID for your element that you noted in step 3.
When you are done, your code should look like this:
If you have more than one element that you want to display only in mobile:
Now your code should look like this:
The following API is used in the code in this article. To learn more, see the API Reference.