caffe663 Posted May 13, 2021 Share Posted May 13, 2021 (edited) Hello everyone, My website is not on full witdth on mobile how can i fix it. The main page is fine but when i click link lead to other content the page does not appear to be in full wildth. Here is the picture of it Please someone help me with this. Thank you. Edited May 18, 2021 by caffe663 (see edit history) Link to comment Share on other sites More sharing options...
caffe663 Posted May 13, 2021 Author Share Posted May 13, 2021 Hello can anyone help me with this. Link to comment Share on other sites More sharing options...
Nickz Posted May 13, 2021 Share Posted May 13, 2021 Impatiience is not a virtue my friend. Look into the css if there is the correct mobile CSS. You want help post more info. Server, Version, Theme is the least you should post. 1 Link to comment Share on other sites More sharing options...
caffe663 Posted May 14, 2021 Author Share Posted May 14, 2021 3 hours ago, Nickz said: Impatiience is not a virtue my friend. Look into the css if there is the correct mobile CSS. You want help post more info. Server, Version, Theme is the least you should post. Thank you for replying. Can you please tell me what kind of information i should post. I can't find the module mobile in the theme either. Link to comment Share on other sites More sharing options...
Nickz Posted May 14, 2021 Share Posted May 14, 2021 Server info. Windows server version, Linux Distro Debian, Ubuntu or else. Theme version 1.6xx or 1.7.xx or else Usually the should be some bootstrap in your theme. Link to comment Share on other sites More sharing options...
caffe663 Posted May 14, 2021 Author Share Posted May 14, 2021 1 hour ago, Nickz said: Server info. Windows server version, Linux Distro Debian, Ubuntu or else. Theme version 1.6xx or 1.7.xx or else Usually the should be some bootstrap in your theme. I am using a shared sever. I don't know about the window sever version maybe the 7.3php. Theme version is default version prestashop 1.7.7.3. About the bootstrap in my theme i don't know where to find it. Is it in the partial, would you mind telling me what folder or what file it is so i can post it. Thank you Link to comment Share on other sites More sharing options...
Nickz Posted May 14, 2021 Share Posted May 14, 2021 root folder > themes > yourtheme + bootstrap Link to comment Share on other sites More sharing options...
caffe663 Posted May 14, 2021 Author Share Posted May 14, 2021 10 minutes ago, Nickz said: root folder > themes > yourtheme + bootstrap In my files, i can't not find the bootstrap. Is it one of those files there or is it lies in the classic/library folder. Link to comment Share on other sites More sharing options...
Nickz Posted May 14, 2021 Share Posted May 14, 2021 This is where it should be: 1 Link to comment Share on other sites More sharing options...
caffe663 Posted May 14, 2021 Author Share Posted May 14, 2021 (edited) 16 minutes ago, Nickz said: This is where it should be: I download firezilla to check but i can't seem to find it. Edited May 14, 2021 by caffe663 (see edit history) Link to comment Share on other sites More sharing options...
caffe663 Posted May 14, 2021 Author Share Posted May 14, 2021 43 minutes ago, Nickz said: This is where it should be: I searched some on the google. It says that in the themes also has the mobile module but i can't find that as well. Is the prestashop 1.7 removed it or it is just that i did not find it. Also I can't seem to find the default-bootstrap on my sever as well. Link to comment Share on other sites More sharing options...
Nickz Posted May 14, 2021 Share Posted May 14, 2021 the version I showed you is 1.6.1.24 Link to comment Share on other sites More sharing options...
caffe663 Posted May 14, 2021 Author Share Posted May 14, 2021 16 minutes ago, Nickz said: the version I showed you is 1.6.1.24 So where can i find the bootstrap in the 1.7.7.3 version Link to comment Share on other sites More sharing options...
Nickz Posted May 14, 2021 Share Posted May 14, 2021 My favourite searchengine is DuckDuckgo.com Link to comment Share on other sites More sharing options...
caffe663 Posted May 14, 2021 Author Share Posted May 14, 2021 Just now, Nickz said: My favourite searchengine is DuckDuckgo.com What do you mean man, i don't know it and i'm asking for help. Do you mean that i can find the solution thorugh duckduck ? Link to comment Share on other sites More sharing options...
Nickz Posted May 14, 2021 Share Posted May 14, 2021 Just look it up under the searchengine you like 1 Link to comment Share on other sites More sharing options...
caffe663 Posted May 14, 2021 Author Share Posted May 14, 2021 20 minutes ago, Nickz said: Just look it up under the searchengine you like Man you are telling me to post the bootstrap, i tell you i don't know where it is so i ask you and you show me the 1.6 version which is not mine. Now you telling me to search on duckduckgo to find the solution. i am really confused Link to comment Share on other sites More sharing options...
Nickz Posted May 14, 2021 Share Posted May 14, 2021 How about learning to research, its a helpful feature. You cannot expect to get all solution delivered to your doorstep. Where is the bootstrap module for theme xxxxx version 1.7.7.x ie you could use. Link to comment Share on other sites More sharing options...
caffe663 Posted May 14, 2021 Author Share Posted May 14, 2021 (edited) 44 minutes ago, Nickz said: How about learning to research, its a helpful feature. You cannot expect to get all solution delivered to your doorstep. Where is the bootstrap module for theme xxxxx version 1.7.7.x ie you could use. I searched all the themes folder but i could not see the default-bootstrap folder.I think there is no default-bootstrap folder in prestashop 1.7 maybe it is changed to something that i don't know, that why i am asking if you could help me if you know where it is (i did the research but i did not find it ). Edited May 14, 2021 by caffe663 (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted May 14, 2021 Share Posted May 14, 2021 Hi caffe663 To clear something up, "default-bootstrap" was default theme for only 1.6 version of PrestaShop. In 1.7 version have new default theme is named "classic" . Now to your issue. Problem are images you are adding in CMS page. They have fixed width that is larger than screen. for example on food-safety page you have image Syoku-Anzen-Title3.png that is 550px wide. To fix you can try bit of CSS code, try to add in /themes/classic/assets/css file custom.css @media (max-width: 575px) { .page-content.page-cms img { width: 100%; height: auto; } } Clear PrestaShop cache and browser cache. 2 1 Link to comment Share on other sites More sharing options...
caffe663 Posted May 17, 2021 Author Share Posted May 17, 2021 On 5/15/2021 at 2:39 AM, razaro said: Hi caffe663 To clear something up, "default-bootstrap" was default theme for only 1.6 version of PrestaShop. In 1.7 version have new default theme is named "classic" . Now to your issue. Problem are images you are adding in CMS page. They have fixed width that is larger than screen. for example on food-safety page you have image Syoku-Anzen-Title3.png that is 550px wide. To fix you can try bit of CSS code, try to add in /themes/classic/assets/css file custom.css @media (max-width: 575px) { .page-content.page-cms img { width: 100%; height: auto; } } Clear PrestaShop cache and browser cache. Thank you it worked. 1 Link to comment Share on other sites More sharing options...
caffe663 Posted May 17, 2021 Author Share Posted May 17, 2021 On 5/15/2021 at 2:39 AM, razaro said: Hi caffe663 To clear something up, "default-bootstrap" was default theme for only 1.6 version of PrestaShop. In 1.7 version have new default theme is named "classic" . Now to your issue. Problem are images you are adding in CMS page. They have fixed width that is larger than screen. for example on food-safety page you have image Syoku-Anzen-Title3.png that is 550px wide. To fix you can try bit of CSS code, try to add in /themes/classic/assets/css file custom.css @media (max-width: 575px) { .page-content.page-cms img { width: 100%; height: auto; } } Clear PrestaShop cache and browser cache. sorry to ask again, but it only work when the phone is in vertical mod when it is in horozental mod i meet the same problem. Link to comment Share on other sites More sharing options...
razaro Posted May 19, 2021 Share Posted May 19, 2021 Try to add then also next code @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) { .page-content.page-cms img { width: 100%; height: auto; } } Adjust min-width px if needed lower number. 1 Link to comment Share on other sites More sharing options...
caffe663 Posted May 21, 2021 Author Share Posted May 21, 2021 On 5/19/2021 at 6:29 PM, razaro said: Try to add then also next code @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) { .page-content.page-cms img { width: 100%; height: auto; } } Adjust min-width px if needed lower number. It does not work, i lowerd the min-width px to 150px (because i inspect the picture it said width 150). It still does not work. Link to comment Share on other sites More sharing options...
caffe663 Posted May 21, 2021 Author Share Posted May 21, 2021 20 minutes ago, caffe663 said: It does not work, i lowerd the min-width px to 150px (because i inspect the picture it said width 150). It still does not work. On 5/19/2021 at 6:29 PM, razaro said: Try to add then also next code @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) { .page-content.page-cms img { width: 100%; height: auto; } } Adjust min-width px if needed lower number. Never mind, i worked fine. Thank you. Link to comment Share on other sites More sharing options...
Vignesh R Posted May 22, 2021 Share Posted May 22, 2021 Hi razaro, I know its not related to topic but please help me out in this one razaro. My page builder does not work on category pages of mobile version. I elaborated the issue in this link please go though it and let me know if can figure out some solutions razaro. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now