![](https://static.wixstatic.com/media/a27d24_579e450a4e47445483f62d3c816f73ca~mv2.jpg/v1/fill/w_75,h_29,al_c,q_80,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_579e450a4e47445483f62d3c816f73ca~mv2.jpg)
![](https://static.wixstatic.com/media/a27d24_1d9ae7c7e930459894a0b2fd9f1b4457~mv2.jpg/v1/fill/w_76,h_93,al_c,q_80,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_1d9ae7c7e930459894a0b2fd9f1b4457~mv2.jpg)
i have try show more/ less in wix preview and it works well, but when i try it in my phone
it didnt works like wix preview,
you can see the screen shot
Top Wix Preview SS
Bot MyPhone SS
here's my code
button7 code
export function button7_click(event) {
if ($w("#text39").text=== shortText) {
$w("#text39").text = fullText;
$w("#button7").label ="Show Less";
$w("#text39").expand();
}else{$w("#text39").text = shortText;
$w("#button7").label ="Show More";
}
}
and here is my on ready code:
import wixWindow from 'wix-window';
let fullText;
let shortText;
$w.onReady(function () {
if(wixWindow.formFactor === "Mobile"){
$w("#button5").show();
$w("#button7").show();
const shortTextLength = 110;
fullText = $w("#text39").text;
shortText = fullText.substr(0, shortTextLength) + "...";
$w("#text39").text = shortText;
}
i wonder how can i fix , please help me
![](https://static.wixstatic.com/media/a27d24_8df7d6da394f4ea6bc76b95918870020~mv2.jpeg/v1/fill/w_130,h_230,al_c,q_80,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_8df7d6da394f4ea6bc76b95918870020~mv2.jpeg)
![](https://static.wixstatic.com/media/a27d24_3e9497783d6e4231a3c2655e4190e297~mv2.jpeg/v1/fill/w_130,h_230,al_c,q_80,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_3e9497783d6e4231a3c2655e4190e297~mv2.jpeg)
Hello again, @elwin .
I am contacting you regarding the issue you were experiencing with the Show More/Less functionality.
We released a new support article that describes how this functionality can be implemented on your site.
Corvid Tutorial: Expand Text with a Read More Link
Thanks again for your patience and understanding. Let me know if you have any further questions.
Hey,
We are aware of this issue and it's currently being investigated.
We will get back to you as soon as we have an update.
Your patience is appreciated.