XTypo Dropcap and paragraph text indent

Thanks. It is not as easy for all site editors (it's a magazine with dozen of contributors which don't know code).
8 years 4 months ago #7 by theant

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline

Thanks. It is not as easy for all site editors (it's a magazine with dozen of contributors which don't know code).

I see. You can try from javascript side. Try adding this code to your javascript file
jQuery(document).ready(function() {
   jQuery('.xtypo_dropcap').parent().css({'text-indent':'0'});
});
8 years 4 months ago #8 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Thanks again. Can you please tell me where exactly to insert it?
8 years 4 months ago #9 by theant

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
I'm not familiar with your template structure, but basically you can put it at the end of any javascript file existing under your template folder
8 years 4 months ago #10 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum