Block area positioning

Permalink
Hello. I've installed a template on my first C5 site. The template comes with a sort-of splash page. On my splash page I have inserted an image block to serve as my logo. I'd like to float the area that my block sits in and also float the block itself inside of that area so that it sits in the center of all screen sizes, browsers, etc. How would I edit these areas to do that? Are they in the template for that page? For instance this would be in homepage.php since that is the pagetype installed there.

Website: briankeschinger.com

bkeschhh
 
DAkers replied on at Permalink Reply
If you are looking to change all page types to by default have that positioning, then you need to go into the files themselves or go to composer.

If you want to just change a single instance of a block or block area, if you click on them while in edit mode there is an option called design. You can specify CSS in here or change some of the pre-made options already there.
bkeschhh replied on at Permalink Reply
bkeschhh
In my case, both of these options are the same. This page type only occurs once and it's only one area that I'm looking at.

But just for future reference... If I wanted to position a block area at a different height or width then I would change that inside of the files themselves? What code should I be looking for as they already have fixed positions? What do you man by "going to composer"?

Thanks in advance!
DAkers replied on at Permalink Best Answer Reply
If you go into your themes folder, and then to whatever theme you are currently using, you should see files for each of your page types. You can code in blocks and position them to your heart's content.

For the composer, go to your dashboard and click on "Page Types". Next to each of your page types there is a button called composer. The composer is just like editing a page normally and you can use the design option again to move your blocks around. Whenever you add your selected page type from now on, any edits you did to composer will be added to your new pages.

Hope that makes sense!
bkeschhh replied on at Permalink Reply
bkeschhh
Yes it does! Thanks so much! Just one last question: If I were to edit the PHP file - what does the PHP code look like for the area's positioning? That way I can find it and mess around with it. Thanks!
DAkers replied on at Permalink Reply
The best way to position everything would be to use CSS. I do not know what your php file looks like, but you could just throw in some divs and include a CSS stylesheet in the php file (if there is not one already). If there is one already, just edit the current CSS file that the php file is grabbing.