テーマは「Retina」を使用しています。
スマホの商品ページが大きく表示されすぎて、画面からはみ出るため、開いたときに、画像の左の方しか表示されません。
画面に商品画像全体を表示させたいのですが大きく表示されすぎて、右にスライドしていくような形になり、商品の全体像が見えません。
商品画像の下の商品紹介の文字についても同じです。
スマホでも一画面に商品画像や商品詳細文の幅全体を表示させたいのですが、どのようにすればいいのか、ご教授いただけないでしょうか。
ユーザーは「Retina」テーマを使用しており、スマホで商品ページを開くと画像や商品詳細が大きく表示されすぎて画面からはみ出し、左側しか見えない問題に直面しています。
主な問題点:
提案された解決策:
PageFlyのAmeliaから、レスポンシブCSSを追加する方法が提案されました:
theme.cssまたはstyles.cssファイルを探すレイアウト要件に応じて、CSSの微調整が必要になる可能性があります。
テーマは「Retina」を使用しています。
スマホの商品ページが大きく表示されすぎて、画面からはみ出るため、開いたときに、画像の左の方しか表示されません。
画面に商品画像全体を表示させたいのですが大きく表示されすぎて、右にスライドしていくような形になり、商品の全体像が見えません。
商品画像の下の商品紹介の文字についても同じです。
スマホでも一画面に商品画像や商品詳細文の幅全体を表示させたいのですが、どのようにすればいいのか、ご教授いただけないでしょうか。
Hi @bb-zbjd ,
This is Amelia from PageFly - a Landing Page Builder App,
To ensure that your product images and descriptions fit properly on mobile screens when using the Retina theme, you can adjust the CSS to make the images and text responsive. Here are the steps to achieve this:
Access Theme Code:
Locate the CSS File:
Add Responsive CSS:
Add the following CSS to ensure that images and text scale properly on mobile devices:
/* Ensure images fit within the screen */
.product-single__photo img {
max-width: 100%;
height: auto;
}
/* Ensure text fits within the screen */
.product-single__description {
word-wrap: break-word;
overflow-wrap: break-word;
}
/* Adjust padding and margins for mobile */
@media (max-width: 768px) {
.product-single__photo {
padding: 0;
}
.product-single__description {
padding: 0 15px;
}
}
Test on Mobile Devices:
Adjust as Needed:
I hope that my solution works for you.
Best regards,
Amelia | PageFly