By Chaon on Monday, 13 June 2022
Posted in General Issues
Replies 7
Likes 0
Views 445
Votes 0
Hello,
Is there a way to use the drop cap function only on entry layout?
The default behaviour is when you turn on the drop cap function to work on every view such as list etc.
Regards
Hi Chaon,

Unfortunately, we do not have a setting to turn on this drop cap feature on the single entry blog page only.
·
Tuesday, 14 June 2022 13:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Is there a way to achieve this with custom css?
·
Tuesday, 14 June 2022 15:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Yes, it is possible to achieve this with custom css. Below I have given you the custom code.


body #eb .eb-post-listing p.has-drop-cap:first-letter {
float: inherit;
padding: inherit;
margin: inherit;
line-height: inherit;
font-size: inherit;
font-weight: inherit;
text-transform: inherit;
text-align: inherit;
}
·
Tuesday, 14 June 2022 18:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you this worked.
Can you please also let me know how can i align a bit better the drop cap because if you check my website it seems a bit offset from the text. I would like to move it upper.

Regards
·
Tuesday, 14 June 2022 18:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

To align the drop cap with your text add this custom css code in backend > components > easyblog > themes > custom css > paste code then save.



body #eb.eb-view-entry .ebd-block[data-type=text].has-drop-cap p:first-child:first-letter {
padding: 0em 0.3rem;
}
·
Wednesday, 15 June 2022 19:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you so much for your assistance. Much appreciated.
·
Thursday, 16 June 2022 19:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Chaon,

I'm glad to hear that your issue has been resolved now .

For your information, I've locked and marked this thread as resolved to avoid any future confusion. If you have any difficulties in the future, please start a new thread so that we can better handle your requests.

Thanks!
·
Friday, 17 June 2022 10:35
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post