[Resolved] Border Under Each List Item in Widget

Home Forums Support [Resolved] Border Under Each List Item in Widget

Home Forums Support Border Under Each List Item in Widget

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1334791
    Connor R

    I have a menu that I have added as a footer widget on my site. Under each menu item, I would like to add a solid white border. I can’t seem to quite figure out the CSS to make this happen.

    Thanks!

    #1334949
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .footer-widgets .widget_nav_menu a {
        border-bottom: 1px solid #fff;
    }

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

    #1335467
    Connor R

    Hi Leo,

    This got me started. Is there any way to set the width of the borders to be equal (see footer of afterschoolfinance.com)?

    Thanks!

    #1335683
    Leo
    Staff
    Customer Support

    The other site is using a different HTML to build that.

    You would try a solution like this:
    https://stackoverflow.com/questions/4131490/any-way-to-limit-border-length

    #1335749
    Connor R

    Thanks, Leo!

    #1335770
    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.