Ultima - Display Full Width of Screen

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
ruc
Posts: 1
Joined: 24 Jun 2023, 22:12

24 Jun 2023, 22:19

Hi,

What would be the best way to remove the margin / padding on the main layout section of Ultima? I would like my content to use up the full width rather than been centred in the middle. In the same way that say the California template does? https://www.primefaces.org/california-ng/#/

In comparison the Ultima templates has padding either side- https://www.primefaces.org/ultima-ng/#/

Kind regards

Andrew

gucal
Posts: 50
Joined: 06 Sep 2022, 08:45

31 Jul 2023, 11:31

Hi,

Remove this code from responsive.css file.

Code: Select all

@media screen and (min-width: 1729px) {
     .layout-content {
         width: 1504px;
         margin-left: auto !important;
         margin-right: auto !important;
     }
}
Aliriza Gucal
PrimeNG Core Developer

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests