[Resolved] Adding a Horizontal Rule Above the 3 Widget Footer Area

Home Forums Support [Resolved] Adding a Horizontal Rule Above the 3 Widget Footer Area

Home Forums Support Adding a Horizontal Rule Above the 3 Widget Footer Area

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #482340
    Janine

    Hi, guys.

    How can I add a horizontal rule above the three footer area? Thank you!

    #482672
    Leo
    Staff
    Customer Support

    Hi there,

    Try

    .footer-widgets {
        border-top: 2px solid #000;
    }
    #482688
    Janine

    Hi, Leo.

    That didn’t work. Here’s a live link to the local development theme I’m working on:

    stitchingincolour local

    Thanks, Leo.

    #482693
    Leo
    Staff
    Customer Support

    Edited the code above.

    #482696
    Janine

    Hi, Leo.

    That worked. Did the link help at all? Thanks.

    #482697
    Leo
    Staff
    Customer Support

    Yup it always helps ๐Ÿ™‚

    #482708
    Janine

    Great! How can I shorten the horizontal rule so that it isn’t the entire width of the widget area? I want it just slightly beyond the widget container. Thank you!

    #482786
    Tom
    Lead Developer
    Lead Developer

    In that case you would have to do this instead:

    .footer-widgets-container {
        border-top: 2px solid #dae5ef;
        padding-top: 40px;
    }
    #482887
    Janine

    Thanks, Tom. Worked.

    #482891
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

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