inserting search bar in hero image

dhiraj85

22-06-2020

Hi friends 

               i have a hero image and want to insert a search bar in that hero image,can u please suggest me what should i do,,,,i am new in aem,before 20 days i have started AEM, so please help me out.i want same as like fig

 

dhiraj85_0-1592812698571.png

 

 

 

thanks 

Accepted Solutions (1)

Accepted Solutions (1)

Nirmal_Jose

MVP

22-06-2020

Is search bar an AEM functionality / component. If it is, options are

1. you can make the hero banner configuration to be part of that component itself.

2. Hero banner component and search bar component exists as two different components in author, but using CSS, in preview/publish mode it will overlap the component.

 

If search bar is not an AEM functionality and its a third party injected mechanism, then 

1. You can make a placeholder div in hero banner component and make the third party to inject it to that div. You can create configurations in herobanner dialog if you want to configure the position as well.

 

Answers (3)

Answers (3)

Veena_Vikram

MVP

22-06-2020

@dhiraj85 Welcome to AEM 🙂 , Question for yo:- For the below UI , did you get your final UI ( HTML with CSS ) from your FE team ? To complete the below requirement , you need to get the UI for the header section first, and according to the UI , we can place the image and search bar. If you have the UI already, please share it and we will be happy to guide you on how to go baout developing the header. 

 

Veena ✌

Veena_Vikram

MVP

25-06-2020

@dhiraj85 Do you have the UI to bring the Search bar above the Hero Banner ? something like this https://www.solodev.com/blog/web-design/how-to-add-a-search-bar-to-your-hero-section.stml . It is all work of CSS and HTML. Once you have those , you can integrate it to AEM , to make it authorable.

vanegi

Employee

22-06-2020

Hi Dhiraj,

You can check the implementation of /apps/weretail/components/structure/header component which is available OOTB. It's a Page header with navigation and toolbar component which you can leverage in your site page. See [0] for more details.

 

[0]: https://docs.adobe.com/content/help/en/experience-manager-65/communities/authoring/search.html

 

Thanks,

Vaishali