I asked a similar question in the old forum, but cannot find it anymore.
I use the standard kirby-theme which limits the content to a specific width. Now i want to use different colored content-blocks with 100% width and a content-block limited to a specific width inside (divs or sections?) to separate the content on one page. What do i have to edit in the main.css and in the templates to achieve this?
main.css line 93ff
/* max-width: 50em; */
You can inspect the css using web tools, e.g. Web Developer extensions for Firefox etc, depending on your browser.
Then you can set the divs or sections (depending if you want to use HTML5 tags or not) inside to some percentage value and add
margin: 0 auto; to center them on the page.
i made these changes, but my new div, placed around the content via panel is only displayed with a fixed width much smaller than the browserwindow. have a look at bzdega.com.
Sorry, I don’t quite get what you mean, but you haven’t removed the max-width from the body, anyway …
Have found it already… you’re right. The max-width was still there.
Coming closer to what i need, but now i wonder why there are some horizonal rulers after the header and before the footer. Cannot find them in the snippets. Any idea where they com from?
ok, found one in the header-css. now i’m looking in the footer-css.