- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can I change size of search bar
I need help to change the weight and height of search bar. It is in magento 2.3
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How can I change size of search bar
Hi @cejobcyaho0bf4 ,
Can you please check below link to modify search bar style
https://magento.stackexchange.com/questions/292212/change-the-width-of-the-search-bar
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How can I change size of search bar
thanks @Nishu Jindal ,
I couldn't find that file, I was looking on
/vendor/magento/theme-frontend-luma/web/css/source and there are a lot of .less files but Im not sure if is some of those.
Do you know if Im looking in the right path.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How can I change size of search bar
Hi @cejobcyaho0bf4,
Can you please create a new file name as _extend.less on below path
app/design/frontend/ThemeVendor/ThemeName/web/css/source/_extend.less
If file already exist then edit and add your search bar css code referring the same class mentioned in last link.
Deploy the changes using command
php bin/magento s:s:d -f
php bin/magento c:f
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!