Editing layout

Permalink
Hi guys

Very new to C5 and not a coder so bear with me. I am using the excellent Plain theme from C5 Webdesign, but am stuck on the fixed block sizes in the layout.

I would like to like to have the site name at (1) in the attached image, but the block sizes at (1) and (2) prevent this.

Is there a way to resize these blocks or even increase the default width of the main content from 800 up to 1000 and move/resize (1) and (2)?

1 Attachment

 
fudyartanto replied on at Permalink Reply
fudyartanto
To resize the block you just need to adjust that from css.
<div class="col col-sm-6" id="area-1">
        <?php
        $a = new Area('Area 1');
        $a->display($c);
        ?>
</div>

To adjust display of Area 1 block, you need to style area-1 elament with css
dsotm44 replied on at Permalink Reply
Thank you for the help.

Would this be in the main.css? I am using a custom theme.

Brian
fudyartanto replied on at Permalink Reply
fudyartanto
To answer your question I need to know your theme file and structure. Maybe you can attach here. As long as main.css is loaded to the web page, you can add your style rule there.
dsotm44 replied on at Permalink Reply 1 Attachment
Thanks

I am using ct_plain which is loaded to the packages directory - attached is the zipped theme
fudyartanto replied on at Permalink Reply
fudyartanto
If you see header.php under this path "ct_plain\themes\ct_plain\inc\" you will see which css loaded.
<link href="<?php   echo $this->getThemePath(); ?>/css/base.css" rel="stylesheet" type="text/css" />
<link href="<?php   echo $this->getThemePath(); ?>/css/skeleton.css" rel="stylesheet" type="text/css" />
<link href="<?php   echo $this->getStyleSheet('main.css')?>" rel="stylesheet" media="screen" type="text/css" />


You can add your style rule in the base.css/skeleton.css/main.css
dsotm44 replied on at Permalink Reply
Many thanks!

I would have put it in the wrong place :)