Themes
Change the page width

Hi,


I'm looking for a way to change the width of Codoforum. At the moment, on both sides I have +/- 25% of empty space that I would like to see reduced.


Does anyone know where in the templates I can change this?


Hi, I'm looking for a way to change the width of Codoforum. At the moment, on both sides I have +/- 25% of empty space that I would like to see reduced. Does anyone know where in the templates I can change this?

You can change it with CSS


@media (min-width: 1200px)
.container
{
width: 1115px;
}

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

Here You have to change the "width" and "max-width" to fit your needs.


You can change it with CSS ```` @media (min-width: 1200px) .container { width: 1115px; } @media (min-width: 1200px) .container { max-width: 1140px; } ```` Here You have to change the "width" and "max-width" to fit your needs.
edited Feb 11 at 2:41 pm

open site/default/themes/the_theme-which_you-are_using/less/colors.less with a editor for example Notepad++ or Sublime


and at the very bottom of the colors.less file you can place the above css code smile


then save and upload the file again.


Go to Admin Panel/System and clear cache - thats it smile


Kind regards, Andy smile


Info Update: You can use the color.less file for most of CSS or LESS changes, thats the best place to do such things.


open **site/default/themes/the_theme-which_you-are_using/less/colors.less** with a editor for example **Notepad++** or **Sublime** and at the **very bottom** of the **colors.less** file you can place the above css code :) then save and upload the file again. Go to **Admin Panel/System** and **clear cache** - thats it :) Kind regards, Andy ;) **Info Update:** You can use the color.less file for most of CSS or LESS changes, thats the best place to do such things.
edited 3 days ago at 6:56 pm
39
3
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft