Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 20h 21m 49s
Claim 50% off
Awaiting an answer Templates

Helix Ultimate 2.0.1 - default container width

Asked by Addington 5 years ago Last activity 5 years ago

Hi,

I have recently updated to HU 2.0.1. In the previous version, all my content and extensions have been configured and styled to work on a container width of 1140px. As far as I can see the largest, desktop size is now set to

@media (min-width: 1400px)
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
max-width: 1320px;
}
This causes the menu and content/extensions to stretch wider. Changing it in the bootstrap.min.css file doesn't work, nor does adding this to the custom css file.

Can you advise me about how to resize the container?

Many thanks.

5 replies

Ariba Staff

Hello

Thank you for your query. The code that you added in Custom CSS file: Have you tried adding "!important" in the css rule there?

Addington Asked this

Hi,

Thanks for your quick reply!

I added this code

@media (min-width: 1400px)
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
max-width: 1140px !important;
}

but it doesn't work either. (I cleared all the caches etc)

Addington Asked this

Have managed to sort it for now, thanks.

Pavel
5 years ago · edited

Hi. Your code contains syntactic errors and a lot of superfluous.
Here is the right code

@media (min-width: 1400px) {
    .container {
        max-width: 1140px !important;
    }
} 

And never edit core files like bootstrap.min.css and other. Your file for edit - custom.css only.

Addington Asked this

Thanks a lot.

Log in to reply.