Question about editable stylesheets

Permalink
Are editable stylesheets what we would need if we want to give client the ability to put a border on the containing DIV of the template that holds the editable area code?

 
zoinks replied on at Permalink Reply
In other words, your template looks like this:

<div id="content">
           <?php
              $a = new Area('Main');
              $a->display($c);
            ?>
        </div>


And you want to give the client the ability to but a big, thick border on div#content. Can editable stylesheets do this? I've never used that feature before.

I am thinking they probably can't alter the containing div, but I thought I'd ask.
adajad replied on at Permalink Reply
adajad
Yes, they can easily achieve this by putting the page in question in Edit mode, click on the area ('Add to Main') and select 'Design'. There are a bunch of options there, and the third tab says 'Border'.
zoinks replied on at Permalink Reply
Wow, I never even noticed that little button before.

This requires this method of grabbing the stylesheet?
<?php  echo $this->getStyleSheet('style.css')?>" /
adajad replied on at Permalink Reply
adajad
I don't really get what you mean, but everything you can do in 'Design' is powered by concrete5 and you don't need to add anything extra to have it working.

Create your theme the way you want it and then educate your client in how to edit basic styles with the 'Design' tool and I think you will be good to go.

PS. Have you seen this on theme development? http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
zoinks replied on at Permalink Reply
edit...

HOJEEE SHEEEIT! I got it to work and it's awesome. It does work with either method of calling the stylesheet, too. Thanks, man!

I just found that tutorial 2 days ago. JordanLev strikes again with the awesomeness. I hope that guy is rich. Have you seen his blog? I just found that the other day, too:http://c5blog.jordanlev.com/blog/2012/04/hard-coded-autonav-options...
adajad replied on at Permalink Reply
adajad
I always go with

<link href="<?php  echo $this->getThemePath()?>/css/styles.css" rel="stylesheet" type="text/css" />


Now, when you tested it, did you choose a color for the border and hit OK? Because if you didn't you won't see it on a white background.

Edit: I'm glad you got it working!