service portal homepage container size reduce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2020 04:11 AM
Hi All,
Kindly help me to reduce size of portal home page container i tired couple of change but still showing same
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2020 04:43 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2020 04:57 AM
i already made this changes but not working .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2020 05:05 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2020 05:21 AM
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