View Full Version : Force Single Column in Desktop ADE


JSWolf
04-11-2013, 01:57 PM
How can I force a single column in the desktop version of ADE? When I make it wide enough, it automatically becomes two columns. I would like ADE to stay at one column regardless of how wide I make it.

PageLab
04-12-2013, 08:03 AM
Two solutions:

CSS:

body {
oeb-column-number: 1;
}


...or using the old and more complicated (but still functional) page-template.xpgt method:


<ade:template xmlns="http://www.w3.org/1999/xhtml" xmlns:ade="http://ns.adobe.com/2006/ade"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="single_column">
<fo:region-body column-count="1" />
</fo:simple-page-master>

<fo:page-sequence-master>
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="single_column"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

</fo:layout-master-set>
</ade:template>


This file should be declared in the manifest as follows:


<item id="template" href="page-template.xpgt" media-type="application/vnd.adobe-page-template+xml"/>

JSWolf
04-12-2013, 11:26 AM
Thank you. The first method is just what I was looking for.