• Resolved Picturgency

    (@picturgency)


    Hello

    This is really nice !
    But the plugin is adding the dropcap also in blockquotes and in the listing from Subpagelister which is not wanted.

    I see it’s injecting a class.. any tips to tell your plugin to avoid some of our contents by id or class exception.

    It would be nice to share ! Thx

    • This topic was modified 3 years, 3 months ago by Picturgency.
Viewing 1 replies (of 1 total)
  • Thread Starter Picturgency

    (@picturgency)

    OK. For those whom are struggling with dropcaps unwanted… You can just remove this plugin and do it with just css in your style.css to have the same dropcap result.

    This is some code depending on my website classes but you can get inspired and find yours the same way.

    /** Dropcap**/
    div.page-content p:first-child:first-letter, article > p:first-of-type:first-letter, div:not(.subpagelist).elementor-widget-theme-post-content p:first-child:first-letter {
    float:left;
    font-size:4em;
    font-weight:600;
    color: #484848;
    line-height:90%;
    margin-left:-10px;
    margin-right:5px
    }
    
    blockquote p:first-child:first-letter {
    float:left;
    font-size:1.4em!important;
    font-weight:bold!important;
    line-height:1.4em!important;
    margin-left:0px!important;
    margin-right:0px!important;
    }

    to explain a bit :

    this one put the dropcap into my posts, you need to see if “page content” is the main class for you
    div.<strong>page-content</strong> p:first-child:first-letter

    this one remove dropcaps from my header and sidebar p, not sure why but it works
    article > p:first-of-type:first-letter

    this one remove the dropcap for Subpagelister plugin
    div:not(.subpagelist).elementor-widget-theme-post-content p:first-child:first-letter

    Coudln’t do it with the <blockquote> so it’s just reverse engineering for this one
    blockquote p:first-child:first-letter

    Hope you don’t mind me sharing these tips here but it looks like you don’t answer the support too much about this issue.
    I hope you’ll propose an updated version for this, it’s a nice plugin.

    • This reply was modified 3 years, 3 months ago by Picturgency.
    • This reply was modified 3 years, 3 months ago by Picturgency.
Viewing 1 replies (of 1 total)
  • The topic ‘Awesome ! just blockquotes and subpagelist to remove from’ is closed to new replies.