Owdy Posted July 11, 2017 Posted July 11, 2017 I have database articles: https://hoitajat.net/hoitotyo/ajankohtaista/ Is it possible to set default font size to 16 somehow? Just for those database articles, no forum.
opentype Posted July 11, 2017 Posted July 11, 2017 The titles you mean? .cCmsRecord_row h4.ipsDataItem_title { font-size: 18px; }
Owdy Posted July 11, 2017 Author Posted July 11, 2017 No, i mean Post body. https://hoitajat.net/hoitotyo/ajankohtaista/moni-suomalainen-sinnittelee-sairaana-töissä-r506/ When i start post new article, i would like to have font size 16 by default.
opentype Posted July 11, 2017 Posted July 11, 2017 Still not perfectly clear. You want like a teaser paragraph that is larger and bold without styling it in the editor?
opentype Posted July 11, 2017 Posted July 11, 2017 That doesn’t sound right. Why would you want to interfere with the settings? If you want your articles bigger, you would style the articles on a theme level, not force font-height styling into each and every article. If you want just a part of the article bigger, you can also do that via CSS (e.g. “just the first paragraph”) or you would create a separate “teaser field” just for that text.
Owdy Posted July 11, 2017 Author Posted July 11, 2017 1 minute ago, opentype said: , you would style the articles on a theme level, This. How do i set article font size to 16?
ehren. Posted July 11, 2017 Posted July 11, 2017 #elCmsPageWrap article .ipsType_normal{ font-size: 16px; }
Owdy Posted July 12, 2017 Author Posted July 12, 2017 5 hours ago, ehren. said: #elCmsPageWrap article .ipsType_normal{ font-size: 16px; } Weird, that doesnt change font size, but raise the line spacing edit: fixed, thanks! #elCmsPageWrap article .ipsType_normal { font-size: 16px; line-height: 1,5; }
opentype Posted July 12, 2017 Posted July 12, 2017 14 minutes ago, Owdy said: line-height: 1,5; That’s not valid. The decimal separator is “.”. Comma is for lists.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.