Part 3. How to Change Twirl Skin Column Width

Tutorial about changing width of Twirl Plone Skin columns on a Plone 3 website.

The following tutorial covers changing of Twirl Plone Theme columns width on a Plone 3 website. Instruction for:

Content area on a site with Twirl Skin installed is subdivided into three columns: column one and two are usual portlet column, column three - is a content area.
twirl

Column width can be changed: we define first and second column width, and the third column width is generated on the basis of the other two. Column width values can be changed in ZMI.

Go to ZMI interface and select portal_skins -> quintagroup_theme_twirl_styles. This folder has base_properties document,
base

that contains information about Plone's color, logo and border defaults. Now column one width is 200x, column two width is also 200px. In case you want to change these numbers press Customize button.
customize-all

In the opened window change columnOneWidth and columnTwoWidth from values from 200px to your new column width. Do not delete px. If you change columnOneWidth or columnTwoWidth value you should change the corresponding columnOneWidthInteger and columnTwoWidthInteger value as well, but put no px here. The numbers in ColumnWidth and ColumnWidthInteger lines should coincide so that skin view is not broken. 
customize-page

Let's put, for example, columnOneWidth value = 150px, then columnOneWidthInteger value = 150. And columnTwoWidth value = 240px, then columnTwoWidthInteger = 240. Save changes. Now return to Plone Interface and you'll see your changes applied: column one narrowed (from 200 to 150px), column two widened (from 200 to 240px).
changed

In case your changes were not applied instantly, this means that CSS styles remained cashed and should be reloaded. For that go to ZMI -> portal_css (CSS Registry):
portal-css

Check Debug/development mode and:

  1. Make sure the page is loaded completely when you are saving debug mode, otherwise some css styles may be lost.
  2. Save changes.

In case you notice that after debug mode turned on your website slowed down, get back to portal_css and uncheck debug mode.
debug

Now return to the Plone interface and you'll see your changes applied.

Connect with our experts Let's talk