Hii kghugo2000,
Hope you are doing well..!!
Here is solution to add dropcap via css in your website.
1> Kindly add below script in footer.php
<script>
$=jQuery;
$( “.sub-title-primary” ).wrapInner( “<p></p>” );
</script>
Note: which will cover subtitle in p tag.
2> Add css in file:
.sub-title-primary > p:first-of-type:first-letter {color: #903;
float: left;
font-family: Georgia;
font-size: 75px;
line-height: 60px;
padding-top: 4px;
padding-right: 8px;
padding-left: 3px;
}
This will work..!!
Let me know if i can help you more..!!
Hi Mitali,
I have tried to use that solution but it is not working. Can you check it again for me? I think the problem may be .sub-title-primary > p:first-of-type:first-letter, but I am not sure.
Thank you for reading and your help.
Hi kghugo2000,
I have seen above url. Kindly add below code in footer.php. It will add p tag in subittle. After that Above css will work.
<script>
$=jQuery;
$( “.sub-title-primary” ).wrapInner( “<p></p>” );
</script>
Let me know if you need more guidance.
Hi Mitali,
Thank you for your help. I have tried your code again but still it doesn’t work.
I have checked my footer.php and I am sure I have entered those code. Do I need to input those code in a specific location inside footer.php?
Thank you for reading and your help.