MyBB Community Forums

Full Version: How to change the size for h1, h2, h3, h4, h5, h6?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't find it in global.css Sad
(2015-06-07, 08:30 PM)XP Mai Wrote: [ -> ]I can't find it in global.css Sad

No, that is a standard browser setting. But you should be able to change it in global.css I suppose.
(2015-06-07, 08:38 PM)Ad Bakker Wrote: [ -> ]
(2015-06-07, 08:30 PM)XP Mai Wrote: [ -> ]I can't find it in global.css Sad

No, that is a standard browser setting. But you should be able to change it in global.css I suppose.

No options.

Is it easy to create myself? If yes, can you guide me?

Perhaps just add

.h1 {

font-size: 36px;

}

will do?
(2015-06-07, 08:50 PM)XP Ma Wrote: [ -> ]
.h1 {

font-size: 36px;

}

will do?

I think so, but without the point (it is not a class). Just try it by adding it to global.css (AdminCP -> Templates - Style -> your style -> global.css -> Edit Stylesheet Advanced mode). Reset caches (AdminCP -> tools & maintenance -> cache manager) after that, sometimes it is not clear to me which. I am amazed that there is no option to rebuild all caches in AdminCP.
(2015-06-07, 09:08 PM)Ad Bakker Wrote: [ -> ]
(2015-06-07, 08:50 PM)XP Ma Wrote: [ -> ]
.h1 {

font-size: 36px;

}

will do?

I think so, but without the point (it is not a class).

With the . it's a class?

So without . it isn't class?

Just found solution, used without . : http://stackoverflow.com/questions/10668...-h1-and-h2

So this time is it correct?
(2015-06-07, 10:45 PM)XP Mai Wrote: [ -> ]So this time is it correct?

I think so, just try it. It can do no harm.