Width of content
PermalinkI'd like to make the width of the main content for all pages 930px. I'd like to keep footer as full width.
I'm sure there's a simple way to do it using width:930px; margin: o auto; or something like this. But where should I place it and will it not affect how the page resizes when reduced in size?
Thanks
p
Thanks for this. I made the change and the content is resized. Great. But when I reduce the size of the browser window to below 930px I get the horizontal scroll bar. Is this expected? For some reason I was expecting the page to resize all elements as it's a responsive theme.
Cheers
p
div.ccm-page header .container { width: 930px; }
I'm having a real problem finding the main.css though...?
/concrete5/application/files/cache/css/timetrekkers/main.css
EDIT
No, thats just the cached file..
Perhaps someone who is using 5.7 could point you in the right direction.
cheers
p
Changed it ,but scroll bar still appears when resizing the browser...?
Turns out I'd changed the header.less in css/build. Deleted the added text (width 930px etc) and now seems to be better.
I've made my own theme based on Elemental and it took me a while until I got it. But from then on, everything is really clear and way more easy to achieve.
Most confusing point was and sometimes still is, that looking at main.css gives no hint from which .less file its content comes from.
I did have a brief look at the Concrete5.org videos and docs on .less files and styling.
Slowly starting to make sense :)
I'll keep reading!
https://developer.chrome.com/devtools/docs/css-preprocessors...
It allows for much easier CSS debugging when using CSS preprocessors.
The Less compiler that concrete5 uses supports source map generation, but I am not sure what technical considerations are in place for why it isn't being used.
The Elemental theme uses the Bootstrap framework grid system for layout. It is designed to be responsive.
http://getbootstrap.com/css/#grid...
You would need to modify the Bootstrap CSS.
- open bootstrap-modified.css
themes\elemental\css\bootstrap-modified.css
- do a search for "1170"
- replace it with "930"