Jump to content
Bejoy Thomas

How to resize font in prestashop

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

After adding/changing things to design, you also cleared the smarty cache and the cache of the browser you are using ?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More