XTypo Dropcap and paragraph text indent

Hello
If I set text indent for paragraphs in css, I get a white space between Xtypo Dropcap and the rest of text. Is it possible to avoid it?
Thanks
8 years 4 months ago #1 by theant

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

  • Posted by TemplatePlazza (5310) Offline
Hi Could you let me know the URL of your site so I can take a look?
8 years 4 months ago #2 by TemplatePlazza

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

8 years 4 months ago #3 by theant

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

  • Posted by TemplatePlazza (5310) Offline
It looks like it comes from your template code.
Try to add this code to your css file :
div.item-page p {
text-indent:0!important;}
8 years 4 months ago #4 by TemplatePlazza

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

I want the text indent, but not the white space between dropcap and the rest of the text.
8 years 4 months ago #5 by theant

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

  • Posted by TemplatePlazza (5310) Offline
If you don't mind to add css class for the <p> everytime you create a new article then you can do these steps :
1. Add the css code to your css file :
div.item-page p.noindent {
text-indent:0!important;}
2. Every time you create a new article, toggle the wysiwyg editor to code editor, and add class
.noindent
to the <p> tag where you want to add dropcap. So it would be like this :
<p class="noindent">this is your text</p>
8 years 4 months ago #6 by TemplatePlazza

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

Powered by Kunena Forum