Jump to content
TNG Community
Jan Bos

Font size template 12

Recommended Posts

Jan Bos

Can somebody tell where in the CSS 0f template 12 I can change the font-size. The size is very small and not everyone can read the text,

I mean the text of the frontpage.

Thanks,

Jan

Share this post


Link to post
Share on other sites
RickM

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

Share this post


Link to post
Share on other sites
XerxX

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

Share this post


Link to post
Share on other sites
RickM
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..

Share this post


Link to post
Share on other sites
XerxX
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×