Jump to content
TNG Community

Font size template 12


Jan Bos

Recommended Posts

Put the following in your mytngstyle.css file located in the templates/template12/css folder

.cb-layout-wrapper {
  font-size: yypx;
}

where yy = the fontsize you want

Edited by RickM
Changed body tag to a class
Link to comment
Share on other sites

Hi Jan,

It's not a good idea to change the font size (and I don't think you can do it for the front page separately).

Much better is to tell your users so use the keyboard

Windows: <Ctrl> and <+>

Mac: <Cmd> and <+>

Otherwise other things may go out-of-design-synch on other pages.

<+> enlarges, <-> diminishes and <0> (zero) resets to default.

HTH

Erik

Link to comment
Share on other sites

6 minutes ago, XerxX said:

It's not a good idea to change the font size (and I don't think you can do it for the front page separately).

Hey Erik

Cannot disagree with the statement generally speaking, however in this particular case, I believe the class .cb-layout-wrapper is unique to the index.php file in template 12.
 

Perhaps Jan, you could dbl check this by loading a few other pages to see if font-size has changed on them..

Link to comment
Share on other sites

6 minutes ago, RickM said:

the class .cb-layout-wrapper is unique to the index.php file in template 12

Okay; agreed if that's so. And if that's the only text that's too small.

Jan: If you do this: Please make a note so you remember to do it also the next time something changes.

/Erik

Link to comment
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...