I'm having a bit of trouble with my WordPress website. I want to format the comments section of each post to look like the image below, but I need help converting from inline CSS to external CSS and implementing it on the webpage. https://i.sstatic.net/FfVQE.png
Specifically, I'd like to remove the left space and make the comments closer together to save space.
This is the Inline CSS code I currently have:
<div dir="ltr" style="text-align: left;" trbidi="on">
<hr style="background: 0px center rgb(255, 255, 255); border-bottom-color: rgb(204, 204, 204); border-bottom-style: dotted; border-bottom-width: 2px; border-top-width: 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.8px; line-height: 20.7px;" />
... (CSS code continues)
Here's what I've tried in my attempt:
dhr {
background: 0px center #ffffff /* This type of heading MUST be Green and Large! */
border-bottom-color: #cccccc
border-bottom-style: dotted
... (more CSS properties)
}
In the HTML Page:
<hr class="dhr" />
<span class="dhr">[Here I enter command manually everytime]</span>
Unfortunately, my attempts haven't worked. Can anyone provide me with the external CSS code and how to implement it on the page? I also need help removing the left side spacing and reducing the gap between comments. The name of my external CSS file is custom.css. Thank you in advance for your assistance.