Rick Hurst Web Developer in Bristol, UK

Menu

Category: css

CompositePack drawer overlap plone 2.5

I’m experiencing a problem where the Kupu drawer used to select content when in design mode on a compositepack page gets overlapped by elements from the underlying page. I thought it was something I had done with a custom skin I was building, but when I switch back to plone default skin, the problem still exists. I don’t think I have come across this before, so my conclusion at the moment is that this is something unique to Plone 2.5

I am seeing this on Firefox 1.5.0.6 (PC & mac) and IE6 PC. CompositePack 1.0 Final

screen shot here (Firefox)

If anyone has a fix for this please let me know!

UPDATE: Fixed

I have now fixed this (thanks Emyr!).

I applied the following to my style sheet:-

.kupu-drawer {
z-index: 3 !important;
}

#region-content .contentActions {
z-index: 1;
}

(the !important is only necessary because of a precedence thing somewhere along the line)

Plone installable custom skins – how to deactivate the ploney bits

I’ve been using DIYPloneStyle to create custom installable skin products since.. err.. an early version, and the process always went like this:-

  1. use the generator.py file to create a new product
  2. install the skin product
  3. Use the css_registry to deactivate most of the plone style sheets, so that I don’t have to overide the styles in my custom CSS

The problem with this is that this can cause complications if there is any skin-switching capability, plus if you provide the skin to someone else to install you also have to send instructions to deactivate the appropriate stylesheets.

Today I downloaded the 2.1.2 version, and I was pleased to see that the blank skin product that it creates takes me to exactly the same starting point as I like to start from, i.e. all the plone default styles are deactivated. I say deactivated, but what I mean is there are blank public.css, plone.css etc files in the product, so when the product is installed, these have higher precedence than the ones in the plone layers. This is a much more convenient way to deal with overiding the styles, not sure why I didn’t think of it before!