Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 03h 11m 23s
Claim 50% off
Staff replied Templates

font-size for mobile devices

Asked by Pio 2 years ago Last activity 1 year ago

Hi,
on the site https://www.tuttoperleaziende.it/ted/ I use the Manufacturer template.
I'd like to increase the font-size for mobile devices.
Which css can I use?

Thanks
Pio

6 replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Could you please give me a screenshot of your issue? Which portion do you want to increase actually?

-Regards.

Pio Asked this

Hi,
I need to increase the text of all sections of the home page and all internal pages, except the titles.

Thanks
Pio

Paul Frankowski Senior Staff

Hi Pio.

In general you should do that from Text addon settings, there is possibility to set different font-size for Desktop, Tablet and Mobile devices. Then you have full control.

The lazy solution will be to force font-size using Custom CSS as you wanted:

@media screen and (max-width: 580px) {
 .sppb-addon-text-block .sppb-addon-content,
  .sppb-addon-text-block .sppb-addon-content p { font-size: 15px !important; }
}
Pio Asked this

Hi Paul,
I tried the css but it doesn't work.

Best Regards
Pio

Paul Frankowski Senior Staff
2 years ago · edited

It works, and here is evidence || iPhone Emulator

font-size15.gif

  • Maybe value 15px is too small for you. And you have to use 16px or 17px, hmm? It was just a example.
  • you can also change from 580px (screen) to 680px (bigger mobile screen)
  • Or you have to refresh mobile browser cache if you tested on your Mobile phone.

ALWAYS check on two browsers to be sure. I share CSS that I tested.


And obviously knowledge of CSS is essential to understand how it works.

Mehtaz Afsana Borsha Staff

Hi

Is this solved now?

Log in to reply.