The CreatorCon Call for Content is officially open! Get started here.

service portal homepage container size reduce

Keerti2
Mega Expert

Hi All,

Kindly help me to reduce size of portal home page container i tired couple of change but still showing same

https://dev5888.service-now.com/nav_to.do?uri=%2Fsp_container.do%3Fsys_id%3Dbe98a8d2cb20020000f8d856...

width changed to - fluid 

and css changed to 


$sp-logo-max-height: 40px;
$sp-logo-max-width: 100px;

.container-fluid {
margin-right: auto;
margin-left: auto;
padding-left: 0px;
padding-right: 15px;
}

.col-md-12 {
width: 100%;
padding-left: 0px;
}

 

https://community.servicenow.com/community?id=community_question&sys_id=d2760325db1cdbc01dcaf3231f9619d2

 

 

find_real_file.png

9 REPLIES 9

Pranav Bhagat
Kilo Sage

Add a class to container(when u are in page designer u can see that)

the class needs to be present in theme

Eg

.customclass{
max-height:300px;
}

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Pranav

Keerti2
Mega Expert

i already made this changes but not working .

Can you add 

max-height:300px !important;

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Pranav

Keerti2
Mega Expert

Seems you were copied above code from another community answer .

FYI - I'm trying since last one week and searched all possible ways. 

Kindly retest once your end .

max-height:300px !important;

is not working