RE: Search bar in dynamics 365 portals
Hi Sumaira,
We don't need to copy and create another new template, I found an easier way to customize the style of the search bar in KB home.
As we said before we need to add "include search" in KB home template to show the search bar first, and let's do the following things.
Go to KB Home web template, find the search content.
For example I want to reduce the size of the search bar, we could put it into a DIV element, and add css styles for this DIV.

We could see that the css style worked well.

So you could add other css styles in this DIV to adjust the size of your search bar.
Hope it helps.
Best Regards,
Leo