Search input field on mobile. - by adlpp

Solved1 reply2 participantsUpdated by Rose Tyler

  • Avatar: adlpp
    adlpp
    Participant

    On desktop’s main header my floating search input field is exactly as I want it: a pill-like field with just a border and a transparent background (beautiful). But on mobile is shown as default. What could be causing this?

    Please, contact administrator
    for this information.

    1 Answer

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Add the next code in Theme Options > Theme Custom CSS:

    .et_b_header-mobile-menu .et_b_header-search input[type="text"],
    .et_b_header-mobile-menu .et_b_header-search .input-row {
        background-color: transparent !important;
    }
    .et_b_header-mobile-menu .et_b_header-search .input-row {
        border-color: #5f5995 !important;
        border-radius: 50px;
    }
    .et_b_header-mobile-menu input.form-control::placeholder {
        color: #5f5995;
    }
    .et_b_header-mobile-menu svg {
        fill: #5f5995;
    }

    Regards

The issue related to '‘Search input field on mobile.’' has been successfully resolved, and the topic is now closed for further responses