Forum
Welcome, Guest
Please Login to access forum.
Re:[SOLVED]Font size on module K2 (K2 Content) (1 viewing) 
Go to bottom
TOPIC: Re:[SOLVED]Font size on module K2 (K2 Content)
#3250
Universidade Federal de São Paulo
Fresh Boarder
Posts: 13
User Offline
Re:Font size on module K2 (K2 Content) Karma: 0  
Yes, that works now! Thank you!

Now I discuss with my team the new values of page.

Other mistake we made is use 'rem' in parts "not rem".

Other doubt about the font size: in body, we use 0.875em (of 14px base).
The Screen Reader increase and decrease font-size percent on body tag and overwrite the 0.875em. What the measure who used for calculate if he overwrite the base?


Thank you again!
 
Logged Logged  
  The administrator has disabled public write access.
#3251
John Dagelmore
Admin
Posts: 3722
User Offline
Re:Font size on module K2 (K2 Content) Karma: 79  
I'm not sure about this but i guess that when the screen reader is active the font size is calculated based on percentages, thus for example 110% of the base 14px.

Cheers!
 
Logged Logged  
  The administrator has disabled public write access.
#3252
Universidade Federal de São Paulo
Fresh Boarder
Posts: 13
User Offline
Re:Font size on module K2 (K2 Content) Karma: 0  
One last doubt: how change that forum page into "resolved"?
 
Logged Logged  
  The administrator has disabled public write access.
#3253
John Dagelmore
Admin
Posts: 3722
User Offline
Re:Font size on module K2 (K2 Content) Karma: 79  
Just marked as SOLVED
 
Logged Logged  
  The administrator has disabled public write access.
#3259
Universidade Federal de São Paulo
Fresh Boarder
Posts: 13
User Offline
Re:[SOLVED]Font size on module K2 (K2 Content) Karma: 0  
Sorry, I need open that forum again.

I discovery the measure standard of page.
When you install the browser, your standard measure is 16px*.

In my case, we needed block that size browser standard.
I questing and suggest:

Can I change the tag <body> into other tag to begin the font-size standard percent?
In that way, we can define the <body> the font-size standard in px and, begin that, the font-size in em rendering using the same value to render.

Example:
If I change the size in my browser to 20px, the page continue with same size (and rendering). That because the <body> tag size is defined to use px fix.


*Firefox and Chrome
 
Logged Logged  
  The administrator has disabled public write access.
#3260
John Dagelmore
Admin
Posts: 3722
User Offline
Re:[SOLVED]Font size on module K2 (K2 Content) Karma: 79  
Sorry, i don't understand very well. We have never experienced such situations.

However if you want to change the default tag to apply the percent font sizing from the 'body' to another element, you need to edit the core javascript file

joomlapath/plugins/system/screenreader/screenreader/libraries/controller/controller.js

and customize the jQuery selector from: $( 'body' ) to whatever you need as the target element.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top