Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Search bar rounder corners on CSM

SNEnthu
Tera Contributor

PurviS_1-1722861033216.png

Hi Guys, I need to make this Search bar rounded corners on the csm portal [Kb_home]. I've changed the border-radius to 24 px. still it's not reflecting. Can anyone  pls help me on this? 

Below is the Script :- 

 

body .padding-top{
  padding-top: 0px;
}
section.page { 
  background-color: $sp-homepage-bg;
}
 
section.page, section.body {
    padding-top: 0px !important;
}
 
.banner-container {
  width: 100%;
}
 
.search-container {
  max-width: 709px;
  margin: 0 auto;
}
 
.mob-ban-container {
  height: 85px;
  padding-top: 20px;
}
 
.v-h-center {
    display: table-cell;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
}
#homepage-search {
  padding: 0px !important;
}
#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
}
#homepage-search h2 {
font-size: 36px;
    font-weight: 300;
    line-height: 42px;
    margin-top: 0px;
margin-bottom: 10px !important;
}
#homepage-search .h4 {
margin-top: 0px;
    font-size: 18px;
    font-weight: 300;
    line-height: 21px;
}
#homepage-search div[widget] .input-group {
max-width: 578px;
  margin: 0 auto;
}
#homepage-search div[widget] .input-group input[name="q"] {
height: 42px;
    border: 1.2px solid $text-muted;
    border-radius: 4.8px 0 0 4.8px;
  padding-left: 12px;
    padding-right: 12px;
    box-shadow: none;
    -webkit-box-shadow: none;
}
#homepage-search div[widget] .input-group input[name="q"]:focus {
  outline: 5px auto $input-border-focus;
}
#homepage-search ::placeholder {
font-size: 16px;
line-height: 25px;
}
#homepage-search :-ms-input-placeholder {
font-size: 16px;
line-height: 25px;
}
#homepage-search div[widget] .input-group .input-group-btn > button {
height: 42px;
    min-width: 48px;
    border: 1.2px solid $text-muted;
    border-radius: 0 4.8px 4.8px 0;
    padding: 0;
}
0 REPLIES 0