Archived topic
Removing line below heading and above text/content
5 replies · Started by Barbara on May 13, 2019
Hi,
I'd like to know how can I make this little line below heading and above text/content disappear:
https://screencast.com/t/NA1VBnmH
Thanks,
Barbara
Hi there,
you have this CSS added to your custom CSS:
.single .entry-header::after,
.page .entry-header::after {
border-bottom: 1px solid #000;
content: "";
display: block;
margin-bottom: 40px;
padding-bottom: 40px;
width: 2.5%;
}
remove that to remove the line.
Thank you David - I don't know why that code was there!
Another unrelated question: How do I center the headings (now they are aligned to the left)? It seems like I'm missing something cause it should be easy and obvious but I can't find the option!
Thanks,
Barbara
You can use this CSS:
h1.entry-title {
text-align: center;
}
Thanks Leo!
No problem :)