Bejoy Thomas Posted December 14, 2019 Share Posted December 14, 2019 Hello Guys, I am not able to resize my font size in mobile while using viewport fonts. In the desktop version it works fine. But when I am using mobile the font size is the same as that of the desktop. I want the font size to reduce with the screen size. I guess I just need to disable viewport in Prestashop. I am using the default classic theme. and my prestashop version is 1.7 link to the page: https://fern-design.com/sites/coffeeneers/ Has anyone faced similar situation. What can I do to make the font viewport work in prestashop. Is there any alternate solution to this. Regards, Bejoy Link to comment Share on other sites More sharing options...
Bejoy Thomas Posted December 16, 2019 Author Share Posted December 16, 2019 Hello Guys, It works normally when I create a simple html file. But when I add the html in Prestashop it is not working. I think there is something that is causing interference with the html code. Regards, Bejoyo Link to comment Share on other sites More sharing options...
selectshop.at Posted December 16, 2019 Share Posted December 16, 2019 Normally such things you add via css of your theme. Folder /themes/yourtheme/assets/css/customs.css or theme.css if you are using child theme. Link to comment Share on other sites More sharing options...
Bejoy Thomas Posted December 16, 2019 Author Share Posted December 16, 2019 I am still not able to remove the viewport settings. Link to comment Share on other sites More sharing options...
Bejoy Thomas Posted December 16, 2019 Author Share Posted December 16, 2019 I tried to remove the line <meta name="viewport" content="width=device-width, initial-scale=1"> from head.tpl file but still its not working. Link to comment Share on other sites More sharing options...
selectshop.at Posted December 16, 2019 Share Posted December 16, 2019 After adding/changing things to design, you also cleared the smarty cache and the cache of the browser you are using ? Link to comment Share on other sites More sharing options...
Bejoy Thomas Posted December 17, 2019 Author Share Posted December 17, 2019 ok so now it is showing the whole page zoomed out when viewed through the mobile. But I want a responsive page with text size resized to fit the screen. 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