Site logo

[Resolved] Format Search Bar in Footer Widget

Home Forums Support [Resolved] Format Search Bar in Footer Widget

Home Forums Support Format Search Bar in Footer Widget

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2506375
    Jeff

    Hi,

    I’m building a new site and have added 3 widgets to the footer area. Widgets 1 and 3 are Nav menus and show with a TITLE and the widget title is shown and the bottom border is set to 1px so it appears underlined. These show as I want them to show up.

    The problem seems to be when adding the Search to Widget2, it only has an option for Label and not Title. I would like the heading for this section to look the same as the others and push the Search box down to line up with the text from the nav menus if possible. Do you know how I can do this?

    .widget-title {
    border-bottom: 1px solid #ffffff;
    display: inline-block;
    width: 95%;
    font-size: 16px;
    font-weight: bold;
    }

    Thanks,
    Jeff

    #2506436
    Ying
    Staff
    Customer Support

    Hi Jeff,

    Try adding this CSS:

    .site-footer label.wp-block-search__label {
        border-bottom: 1px solid #ffffff;
        display: inline-block;
        width: 95%;
        font-size: 16px;
        font-weight: bold;
        margin-bottom:30px;
    }
    #2506992
    Jeff

    Hi Ying,

    Worked perfectly. Thank-you very much!!!

    One other question. Is it possible to remove the space between the search box and the blue search button so the are directly side by side (no black between them)?

    #2507124
    David
    Staff
    Customer Support

    Hi there,

    add this CSS:

    .wp-block-search .wp-block-search__button {
        margin-left: 0;
    }
    #2507143
    Jeff

    Thanks David.

    You and Ying are awesome! 🙂

    #2507179
    David
    Staff
    Customer Support

    Glad we can be of help

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