Okay
  Public Ticket #1787735
search
Closed

Comments

  • Dmitry started the conversation

    Hi,

    Where I can change search field options? test font/size/color, background color/height etc.

    Thanks

  •  8,996
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    body[data-dropdown-style="minimal"] .sf-menu >li.wpml-ls-item ul {
        width: 80px;
    }

    Thanks


    ThemeNectar Support Team 

  • Dmitry replied

    Sorry, but it seems the same code I changed the language menu in another ticket))

    Are you sure that its the same for search menu customization ?

  •  8,996
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    html body.material #search-outer #search input[type="text"] {
        font-size: 23px !important;
        line-height: 33px !important;
    }

    Thanks


    ThemeNectar Support Team 

  • Dmitry replied

    Works great! Thank you so much, Tahir!

    Is there any way to change the background color and make smaller overal height of search dropdown menu?

    Thanks!

  •  8,996
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    .material #header-outer.transparent .bg-color-stripe, .material #search-outer .bg-color-stripe {
        height: 19vh;
    }
    body.material #search-outer {
        height: 19vh;
    }
    body[data-header-color="dark"] #header-outer .bg-color-stripe, body[data-header-color="dark"].material #header-outer #search-outer:before {
        background-color: #825cff !important;
    }

    Thanks


    ThemeNectar Support Team 

  • Dmitry replied

    It works great!

    Thank you!!