Clean page

Permalink
Yes i'm a newbe, i have the template that came with Concrete5 but i need to delete block holder so that i can have a clean home page (0 content) also how do i size blocks so that they are edge to edge.

 
siton replied on at Permalink Reply
siton
Before you start this is very good video tuturial - C5 concepts:
http://documentation.concrete5.org/developers/concepts...

About your Q:
1. clean home page (0 content): You can edit or delete the blocks. If you want to delete also the areas you need to do this by edit the code (This is not to much practical).

If you talk about "empty site/blank site" you can install empty site (look at step 9):
http://legacy-documentation.concrete5.org/developers/installation/i...

2.1. "IN GENERAL": Full width grid. Elemental uses boostrap grid (learn about boostrap grid on google).

The container set max-width (box-layout) on tablet - desktop.
Inside you root theme folder you find template - for example right_sidebar.php:
<div class="container">
...rest of the code

You can use this class instead:
<div class="container-fluid">
...rest of the code

Boostrap docs - Containers:
http://getbootstrap.com/css/#overview-container...

container-fluid Demo:
http://www.bootply.com/119981#

2.2. More advanced - elemental also use "enableGridContainer"
$a->enableGridContainer();

** C5 docs "Area & Block Containers":
http://documentation.concrete5.org/developers/designing-for-concret...

And about fluid enableGridContainer - i dont know where this is stands:
https://github.com/concrete5/concrete5/issues/1328...

In my opinion because you are new its easy to change the layout by markup--> delete enableGridContainer-->add class="container-fluid":
//new my-theme/default.php after del enableGridContainer and add container-fluid class
<?php
defined('C5_EXECUTE') or die("Access Denied.");
$this->inc('elements/header.php'); ?>
<main class="container-fluid">
<?php
$a = new Area('Main');
$a->display($c);
?>
<?php
$a = new Area('Page Footer');
$a->display($c);
?>
</main>
<?php  $this->inc('elements/footer.php'); ?>


** Last thing - its better to edit this theme (dont change the core folder files):
http://www.concrete5.org/marketplace/themes/cloneamental...