Home › Forums › CSS › First line of Paragraph is automatically centered! › Reply To: First line of Paragraph is automatically centered!
September 1, 2016 at 7:07 am
#245101
Ahmed Elgameel
Participant
Thanks for help guys.
Actually the problem was with margin in the line that @Paulie_D mentioned and I knew that before posting the issue here, and I’ve deleted the line but the problem was with CloudFlare and my .htaccess code for caching so whenever I try to preview changes the old style.css file loads from browser’s caching and when I delete cache or visit the website from new browser or PC the old file loads from CloudFlare and replaces the new style.css file.
When I disabled CloudFlare and cleared the browser cache it works now!
<css>
p {
margin: 0 0 28px; /* theproblem was in this line */
padding: 0;
}
/*The new code is */
#wpcomm .wc-comment-text p {
margin-bottom: 10px;
margin-left: 0 !important;
}
</css>
https://codepen.io/AhmedElgameel/pen/PGoNdd
Thanks for help!