Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Change width of container

Featured Lock Resolved Issue
I'd like to change the size of the .container, which currently is set to 1170px wide. I want to change it to 1028.

In my template settings I have two choices: 1170 or 940.

How can I change the width?

Here's the page: http://www.ohiovarsity.com/

I have included a screenshot as well.

Attachments (1)

  • container.png
    container.png 338.5 KB

3 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
it request customization, so I can give you only few tips:

.container {
max-width: 1028px;
}


use inside custom.css file which has to be created in template folder - of course in /css/ subfolder.

Steve

More than a month ago #Permalink
That didn't work.

See the attachments. One is the custom.css file and it shows it is in the template/css subdirectory. The other shows the setting for .container didn't change.

Attachments (2)

  • custom.png
    custom.png 31.7 KB
  • container.png
    container.png 242.4 KB

Paul Frankowski - Staff

More than a month ago #Permalink
Replace with this small modification:

.container {
max-width: 1028px !important;
}


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 113
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 108
Toufiq

Toufiq

Total Accepted Answers: 37
Pavel

Pavel

Total Accepted Answers: 4
J

johnny

Total Accepted Answers: 3

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us