Closed (fixed)
Project:
Columns filter
Version:
6.x-1.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2009 at 12:28 UTC
Updated:
28 Nov 2009 at 22:47 UTC
> You are strongly advised to override this module's CSS to provide a gutter: this is not provided by the module's own CSS as it's not cleanly possible with percentage widths.
Could someone provide some instructions for this? I know nothing about CSS, but if I know where the file is and what line of text to replace, then i can make a simple edit. I appreciate any help.
Comments
Comment #1
nikitas commentedinstall firebug at firefox ( at the extensions or add ons) restart firefox check the html are where u want to make changesand read the css style properties from the window of the firebug.that will help you for a start.
Comment #2
joachim commentedYup, this is a bit of a code 'n' run module -- needed it for a client, whipped it up quickly, thought I'd share it :)
It's really aimed at themers who are comfortable with CSS.
If anyone has time to add a documentation page with some CSS examples, I'll link to it from the project page :)
Comment #3
jsgammato commentedI figured it out, I think. Here's what I did:
(please feel free to correct this until it is usable)
1. Make a copy of columns_filter.css (from the installed module).
2. Edit the copy to change the following three values (note the space separating each pair of values):
FROM width: 50%; TO width: 48% 2%;
and
FROM width: 22% TO width: 32% 1%;
and
FROM width: 25% TO width: 24% 1%;
3. Rename the columns_filter.css in the installed module to columns_filter.OLD
4. Copy the edited version of columns_filter.css into the module folder.
5. Test it. If it's no good, rename the old one and restore it, then ask someone else for help.
In the end it should look like:
Comment #4
joachim commentedUm?
I'm pretty sure width doesn't take more than one value: http://www.w3.org/TR/CSS2/visudet.html#the-width-property
Second, there is no need to change the module itself: do this in your theme CSS.
You can even override the CSS file wholesale, I think.
Comment #5
joachim commented