- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2024 02:00 AM
Hi guys, i want to change the search bar to rounded corners.
As per my understanding i need to makes changes on the border-radius.
Can anyone please tell me how i can achieve that?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2024 10:16 AM
Hi @SNEnthu You don't need to Clone/Customize widget for this kind of requirement. Just CSS override will work.
Follow below steps
1. Ctrl + right Click
2. Edit page properties
3. Add below CSS code in Page Specific CSS field
#homepage-search input{
border-radius:24px !important
}
4. Save and verify the result
Please mark my response Correct/Helpful
Regards,
Sid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2024 10:33 AM
Hi @SNEnthu One simple correction, follow above mentioned procedure and add below CSS Code
#homepage-search input{
border-radius:24px 0px 0px 24px !important
}
#homepage-search div[widget] .input-group .input-group-btn > button {
border-radius:0px 24px 24px 0px !important
}
Result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 02:09 AM
Hi @MehakS , it does work you just need to find the appropriate class in order to apply the border-radius. incase it doesn't apply just give "important !; " in the end. that should do your job. Just inspect the search bar and play around see in which class does it start working on!