[Resolved] Removing line below heading and above text/content

Home Forums Support [Resolved] Removing line below heading and above text/content

Home Forums Support Removing line below heading and above text/content

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #898010
    Barbara

    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

    #898013
    David
    Staff
    Customer Support

    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.

    #898279
    Barbara

    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

    #898284
    Leo
    Staff
    Customer Support

    You can use this CSS:

    h1.entry-title {
        text-align: center;
    }
    #898286
    Barbara

    Thanks Leo!

    #898287
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.