Owdy Posted July 11, 2017 Share 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. Link to comment Share on other sites More sharing options...
opentype Posted July 11, 2017 Share Posted July 11, 2017 The titles you mean? .cCmsRecord_row h4.ipsDataItem_title { font-size: 18px; } Link to comment Share on other sites More sharing options...
Owdy Posted July 11, 2017 Author Share 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. Link to comment Share on other sites More sharing options...
opentype Posted July 11, 2017 Share 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? Link to comment Share on other sites More sharing options...
Owdy Posted July 11, 2017 Author Share Posted July 11, 2017 This =) Link to comment Share on other sites More sharing options...
opentype Posted July 11, 2017 Share 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. Link to comment Share on other sites More sharing options...
Owdy Posted July 11, 2017 Author Share 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? Link to comment Share on other sites More sharing options...
opentype Posted July 11, 2017 Share Posted July 11, 2017 article { font-size: 16px; } Link to comment Share on other sites More sharing options...
Owdy Posted July 11, 2017 Author Share Posted July 11, 2017 hmmm, nope, didnt change anything Link to comment Share on other sites More sharing options...
ehren. Posted July 11, 2017 Share Posted July 11, 2017 #elCmsPageWrap article .ipsType_normal{ font-size: 16px; } Link to comment Share on other sites More sharing options...
Owdy Posted July 12, 2017 Author Share 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; } Link to comment Share on other sites More sharing options...
opentype Posted July 12, 2017 Share 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. Link to comment Share on other sites More sharing options...
Owdy Posted July 12, 2017 Author Share Posted July 12, 2017 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.