Thread Rating:
  • 7 Vote(s) - 4.71 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Rin Editor 1.2.1 (Powerd by CKEditor)
How can I change the style from font-size medium?

From this

style="font-size:xx-large;"

to this

style="font-size: 17px;"

?
Reply
you can try this simple method :
add below style property to global.css stylesheet of the theme
[style^="font-size: xx-large;"] {font-size: 17px!important;}
Reply
I created api from the site but the picture does not load.(imgur)

[Image: JwmNtP.png]
Reply
php is adding mixed code while adding code, code is not copied properly
Reply
(2020-04-02, 08:53 AM).m. Wrote: you can try this simple method :
add below style property to global.css stylesheet of the theme
[style^="font-size: xx-large;"] {font-size: 17px!important;}

Thank you for your idea, but this css is not working for me.
Reply
(2020-04-06, 11:52 PM)skrilaxrev Wrote: Thank you for your idea, but this css is not working for me.

Try:
[style*="font-size: xx-large"] {font-size: 17px!important;}

Refresh your cache and try in different browsers.
Reply
(2020-04-07, 12:07 AM)Omar G. Wrote:
(2020-04-06, 11:52 PM)skrilaxrev Wrote: Thank you for your idea, but this css is not working for me.

Try:
[style*="font-size: xx-large"] {font-size: 17px!important;}

Refresh your cache and try in different browsers.

Of course I refreshed my cache and also turned on dev mode in Cloudflare.

Sorry, but the new CSS code is not working too (Firefox and Chrome).

I use this line in global css:

[style*="font-size: medium"] {font-size: 17px!important;}

I actually need this for font size medium, not xx-large.

Other solution: Is it possible to let users use fix px as font size in rin editor instead of the xx-small to xx-large font sizes?
Reply
(2020-04-07, 10:59 PM)skrilaxrev Wrote: Other solution: Is it possible to let users use fix px as font size in rin editor instead of the xx-small to xx-large font sizes?

As far as I'm concerned you can simply use digits. What is the limit I won't be so sure, but that is what moderation is for isn't?
Reply
(2020-04-08, 02:15 AM)Omar G. Wrote:
(2020-04-07, 10:59 PM)skrilaxrev Wrote: Other solution: Is it possible to let users use fix px as font size in rin editor instead of the xx-small to xx-large font sizes?

As far as I'm concerned you can simply use digits. What is the limit I won't be so sure, but that is what moderation is for isn't?

I am not sure, how this answers my question.^^

I want the user let choose fixed font size instead xx-small to xx-large. Is this possible?
Reply
Oh, you used the word "users" as in "administrators", my reply was meant for all "users", regardless of their administrative privileges.

To change the editor values I suppose you will need to edit some files, but I won't be sure so maybe somebody else can assist you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)