cancel
Showing results for 
Search instead for 
Did you mean: 

Search box to show on click at Desktop Size

SOLVED
   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Search box to show on click at Desktop Size

Hi,

 

I am new to Magento and so far have just set up a custom theme based on Magento Blank. This is Magento Blank http://magento2-demo.nexcess.net/

 

I would like the search box to show full width when the icon is clicked at all screen sizes as it does at mobile level. What change would I need to make for this to not change to a visible box at large screen sizes but without effecting the menu etc. The plan for the desktop view is for the header to work similar to https://www.moonpig.com/uk/

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Search box to show on click at Desktop Size

I have worked this out now.

 

Remove the desktop styles in:

Magento_CatalogSearch/web/css/source/_module.less

View solution in original post

2 REPLIES 2

Re: Search box to show on click at Desktop Size

I have worked this out now.

 

Remove the desktop styles in:

Magento_CatalogSearch/web/css/source/_module.less

Re: Search box to show on click at Desktop Size

This is not a solution, it's a hack.