How Does Responsive Text Work in Pro

I have searched the forums and docs but see no good explanation of how to make responsive text or how to hide elements on mobile.

Please watch video for more detail:

Thanks!

Hi,

Thanks for writing in!

  1. For responsive text atrributes

selector – Accepts a unique selector used on any text element that you want to be responsive.

compression – Set this to any number to alter the compression of how slow/fast your text responds as you resize the window. Start at 1.0 and make slow incremental changes to see what works best for you.

min_size – The minimum font size that you want your text to be. Accepts pixel units.

max_size – The maximum font size that you want your text to be. Accepts pixel units.

  1. The Visibility Options is located under Customize tab. (hide elements)

  1. For font size units

“Ems” (em): The “em” is a scalable unit that is used in web document media. An em is equal to the current font-size, for instance, if the font-size of the document is 12pt, 1em is equal to 12pt. Ems are scalable in nature, so 2em would equal 24pt, .5em would equal 6pt, etc. Ems are becoming increasingly popular in web documents due to scalability and their mobile-device-friendly nature.
Pixels (px): Pixels are fixed-size units that are used in screen media (i.e. to be read on the computer screen). One pixel is equal to one dot on the computer screen (the smallest division of your screen’s resolution). Many web designers use pixel units in web documents in order to produce a pixel-perfect representation of their site as it is rendered in the browser. One problem with the pixel unit is that it does not scale upward for visually-impaired readers or downward to fit mobile devices.
Points (pt): Points are traditionally used in print media (anything that is to be printed on paper, etc.). One point is equal to 1/72 of an inch. Points are much like pixels, in that they are fixed-size units and cannot scale in size.
Percent (%): The percent unit is much like the “em” unit, save for a few fundamental differences. First and foremost, the current font-size is equal to 100% (i.e. 12pt = 100%). While using the percent unit, your text remains fully scalable for mobile devices and for accessibility.

For more information kindly refer to the link below.

https://kyleschaeffer.com/development/css-font-size-em-vs-px-vs-pt-vs/

Hope that helps

Great response! Thank you!

You are most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.