Okay
  Public Ticket #2289213
Adding a dropcap to a textblock
Closed

Comments

  • Leeuwonline started the conversation

    Hey friends,

    For some reason I can not figure out how to add a dropcap (Capital letter like a newspaper) to a textblock. Could anyone guide me in the right direction?

    Greetings,

    Damien

  •  3,022
    Andrew replied

    Hi Damien,

    Use the following custom css in Salient > General settings > CSS/Script related:

    .wpb_text_column p:first-child:first-letter{
      float: left;
      font-family: Georgia;
      font-size: 50px;
      line-height: 40px;
        padding-top: 1px;
      padding-right: 8px;
      padding-left: 3px;
    }
    

    Hope this helps.