My requirement:
H1: 30px
H2: 28px
H3: 26px
H4: 24px
H5: 22px
H6: 20px
I tried changing the values in Administer wiki > Presentation > Color theme
Customize > Less code as follows

// XWiki already overrides these variables 

@font-size-base:          18px;
@font-size-large:         ceil((@font-size-base * 1.25)); // ~18px
@font-size-small:         ceil((@font-size-base * 0.85)); // ~12px

@font-size-h1:            30px; 
@font-size-h2:            28px; 
@font-size-h3:            26px; 
@font-size-h4:            24px; 
@font-size-h5:            22px; 
@font-size-h6:            20px; 

Now it correctly shows font-sizes 20px to 30px. But it automatically sets
different font-size values for 22px, 26px  sizes incorrectly.

Also what does "// XWiki already overrides these variables " mean? Is this
the culprit for the problem?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Setting-default-font-size-for-Headings-tp7599582.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to