annadaa Posted July 17, 2019 Share Posted July 17, 2019 hi How to use a drop cap (initial) like on the blog IPB I do not find https://ckeditor.com/cke4/addons/plugins/all thanks Link to comment Share on other sites More sharing options...
newbie LAC Posted July 18, 2019 Share Posted July 18, 2019 Hello, This is the ::first-letter css pseudo-element. Link to comment Share on other sites More sharing options...
annadaa Posted July 18, 2019 Author Share Posted July 18, 2019 thanks and how can I use this feature easily when writing an article? Link to comment Share on other sites More sharing options...
newbie LAC Posted July 18, 2019 Share Posted July 18, 2019 Css [data-pageapp="cms"][data-pagemodule="pages"][data-pagecontroller="page"] article [data-controller="core.front.core.lightboxedImages"] > p:first-child:first-letter { font-size: 60px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-weight: bold; line-height: 60px; float: left; margin-right: 5px; color: #963c8a; } Link to comment Share on other sites More sharing options...
annadaa Posted November 23, 2019 Author Share Posted November 23, 2019 On 7/18/2019 at 1:27 PM, newbie LAC said: Css [data-pageapp="cms"][data-pagemodule="pages"][data-pagecontroller="page"] article [data-controller="core.front.core.lightboxedImages"] > p:first-child:first-letter { font-size: 60px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-weight: bold; line-height: 60px; float: left; margin-right: 5px; color: #963c8a; } can you tell me where I need to install this precisely so that it also works for the blog and article and if the code changes also thanks Link to comment Share on other sites More sharing options...
newbie LAC Posted November 23, 2019 Share Posted November 23, 2019 1 hour ago, annadaa said: can you tell me where I need to install this precisely so that it also works for the blog and article and if the code changes also Add in custom.css [data-pageapp="cms"][data-pagemodule="pages"][data-pagecontroller="page"] article [data-controller="core.front.core.lightboxedImages"] > p:first-child:first-letter, [data-pageapp="blog"][data-pagemodule="blogs"][data-pagecontroller="entry"] article [data-controller="core.front.core.lightboxedImages"] > p:first-child:first-letter { font-size: 60px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-weight: bold; line-height: 60px; float: left; margin-right: 5px; color: #963c8a; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.