I'm creating a website for a client and connecting it to ICE everything's working except the ability to show the css styles in ICE.?All of my text is in CSS and all of the styles were created on the template, so everytime I try to attach style to an editible region on a page it tells me I need to attach the styles to the page.?When I try to look for them to attach I don't see them, I only see my template, and when I tried to attach that (hoping it would pick up the css from it) nothing happened (not a surprise.)
Do I really need to recreate my style sheets on each page? That seems unlikely.
I would really appreciate any help.
Thank you
Attach CSS errorHello AngelaVCU,
Please post a link to the page you're working with. I'm a little confused by your description of the problem you're having.
Do your styles exist in a separate stylesheet (e.g., styles.css)? If so, you can attach the stylesheet and apply a class to the editable region.
If the styles exist in the head section of the ''current'' document, you should see them in the list of class styles which you can apply to the editable region.
However, this does not make your class styles in a stylesheet available to the editor when using InContext Editing. This only applies a style to the editable region itself. To make class styles available to the editor, use ''Manage Available Classes'', select a css stylesheet (that has already been attached/linked to the document) which contains the classes, then make sure the ''CSS Styles'' check box is checked for the specific editable region.
Best regards,
Corey
Attach CSS errorThe link is http://www.testbuild.biz/breadline/
I see the drop down menu to define a class and where I could attach a style but when I try to attach a style there is no file to attach.?Also, I cannot define only one style class for all of my editable regions, some of them contain more than one style.
Angela
Hello Angela,
The ''Class'' dropdown menu in the Editable Region Properties panel isn't for defining a class style (you use the CSS Styles panel to define styles). From the Class dropdown menu you can select a class style that currently exists in the document or in an attached stylesheet - basically all of the class styles the Dreamweaver associates with the document. You can also attach an external stylesheet to the document, then all of the class styles in the external stylesheet will be available in the menu list. The external stylesheet file should be a CSS document that contains only CSS styles and is named something like ''mystyles.css'' - you can't attach another HTML document as a stylesheet.
I copied and pasted your source code from your link into a new document, and I do see all of the class styles that are defined in the head section of your document (e.g., .Address, .links, etc) in the Class dropdown menu.
Applying a class style using the this menu doesn't apply the class to all Editable regions - only the currently selected editable region.
Also, if you want to apply multiple class styles to a single Editable Region (e.g., %26lt;div class=''Address links'' ice:editable=''*''%26gt;...%26lt;/div%26gt;), you would have to do this manually.
All of that said, this does not make class styles available to editors/publishers of your InContext Editing site - it simply applies a class style to an Editable Region. If you want to make class styles available to your InContext Editing users, you need to put class styles in an external stylesheet, attach the stylesheet to the document, then use ''Manage Available CSS Classes'' from the Insert %26gt; InContext Editing menu or panel
Please let me know if you need more information.
Best regards,
Corey
Hello,
Okay that makes sense. Since all of my text was created using style sheets is it necessary to apply a class in the drop down menu at all??And finally, how do I make an external style sheet to attach??I've only ever made them through the template.
Thank you for all the help!
Angela
Hello Angela,
Since all of my text was created using style sheets is it necessary to apply a class in the drop down menu at all??
No comments:
Post a Comment