[Resolved] Infinite line that separates footer bar from content – How?

Home Forums Support [Resolved] Infinite line that separates footer bar from content – How?

Home Forums Support Infinite line that separates footer bar from content – How?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #915608
    JUAN JOSE GONZALEZ

    Hello!! It´s just a simple question about something I need help. I´ve seen that “footer bar” is not separated from the content with an infinite line. This is an example: https://news.harvard.edu/gazette/

    How can I add that infinte line? Thanks in advance for the help

    #915613
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .site-footer {
        border-top: 1px solid #000;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know 🙂

    #915620
    JUAN JOSE GONZALEZ

    Thanks! The line works, but it´s just above the widgest. The ideal situation would be just above the “copyright” footer bar (it´s indeed where it has sense). To put the line in that place, may I replace .site-footer with -site-footer.bar ?

    #915625
    Leo
    Staff
    Customer Support

    Any chance you can link us to the site in question?

    You can edit the original topic and use the private URL field.

    Let me know 🙂

    #915626
    JUAN JOSE GONZALEZ

    I´ve disabled footer-widgets in front page, and now it works. But it would be good to know how to put that line below footer-widgets in case footer-widgets were useful

    #915629
    JUAN JOSE GONZALEZ

    Now you can take look. Private url field provided 🙂

    #915634
    Leo
    Staff
    Customer Support

    It should be:

    .site-info {
        border-top: 1px solid #000;
    }
    #915635
    JUAN JOSE GONZALEZ

    Now it´s perfect!! Take a loot to see the final result.

    Thanks a lot for the help and support, Leo. It´s reaaly very appreciated. Have a nice day!

    #915636
    Leo
    Staff
    Customer Support

    No problem 🙂

    You as well!

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