Search Box Width To Be Reduced - Question | JoomShaper

Search Box Width To Be Reduced

Parashuram

Parashuram

Template 1 year ago

https://winlinetech.com/

Here the serach box width to be reduced

In some small laptops menus are over laping, if I rdeuce the search box wodth only it works fine

0
5 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #165393

Hi there!

Thanks for reaching out.

Please use the following code snippet in your ustom CSS:

#mod-finder-searchword0 {
    width: 100px;
}

Here is all about custom code placement in Helix Ultimate: https://www.joomshaper.com/documentation/helix-framework/custom-code-css-js-meta

Best Regards

0
Parashuram
Parashuram
Accepted Answer
1 year ago #165616

Hi

it is not working

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #165621

Try that

@media screen and (max-width: 1680px) {
.awesomplete > input {max-width: 120px;}
}

You can change width value or screen-size value, but as I noticed on 1960px looks OK.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #165622

Alternative method would be to show only Search Icon (with link to Search component view) without using "Search input field" that always takes too much space.

Video tip: https://www.youtube.com/watch?v=iJL3rSqVb1U

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #165899

Hi Parashuram,

Did you check the solutions proposed lately? Please let us know.

Thanks!

0