Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • frdt Friend
    #1061826

    Hi, I try to use custom css code to use lettrine (first letter upcase for paragraph)
    My code follow :

    .lettrine {
      line-height : 1.5em;
      width : 30em;
      margin : 3em auto;
    
    }
    
    .lettrine:first-letter {
      font-family:lobster;
      font-size:3.5em;
      padding-right:0.2em;
      line-height : 1 em;
      margin-right : 0.2 em;
      float:left
    }

    But seams not to be functionning at the following address : http://eca2.mes-services.biz/pax-concordia/pax-concordia-n-30/3455-editorial-de-babel-a-la-pentecote.html

    Css rule is applyed to the page as display in the attachment


    1. lettrine
    Saguaros Moderator
    #1062037

    Hi,

    Kindly check the syntax again, it should be CSS selector ::first-letter { your declaration here; }

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Saguaros 6 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum