web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Portals - Increase height of form (entity list) on web page using CSS

(0) ShareShare
ReportReport
Posted on by 55

Hi all,

I have a web page that contains an entity list. I have a custom theme.css file applied to it via its parent page. I can adjust the height of containers within the page but am struggling to work out how to adjust the height of the form / entity list.

So, using chrome dev tools i can see as below that the form 'content_form' is 439.6px high.

7077.form1.PNG

Via the elements tab i can see this is set here:

6064.form2.PNG

And looking at the styles it seems it is using the user agent stylesheet for the form.

3583.form3.PNG

in not sure what I need to add to theme.css to stop this being used. I'm new to CSS and have tried .form{height:800px} but this made no difference.

Any advice appreciated.

Thanks

I have the same question (0)
  • Suggested answer
    terryharrison Profile Picture
    55 on at

    As usual after spending ages on this as soon as I post a question I figure it out. For anyone else all I needed to do was specify the actual form name e.g.

    #content_form {height:77%}

    If anyone knows how this can be applied to all forms via the theme.css that would be useful though.

  • Suggested answer
    ajyendra Profile Picture
    1,738 on at

    If ID of all the form is content_form then   form#content_form { height:77% !important} and put that into theme.css file

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans