how to give diferent width to panels

oskar_calvo's picture
public
group: Panels
oskar_calvo - Wed, 2008-05-07 00:12

Hello.

I hope some one can tell if what I have in mid can be done, or not.

I am trying to get different width in panels. I am working with Two column bricks, and the idea is this:

|______________|
|__________||___| (1)
|______________|
|____||_________| (2)
|______________|

I am checking the css, but I change the width of the number 1, it also change the numbre 2. My css code is this:

.panel-2col-bricks .panel-col-first{width:65%}
.panel-2col-bricks .panel-col-last{width:35%}

I don't find that the css let me found individuals id or class for every panel.

Any idea how to get different width for line 1 and line 2.

Thanks

Oskar


You marked your post as

femrich's picture
femrich - Fri, 2008-05-16 07:52

You marked your post as Panels2. If that's accurate, you can select the "flexible" layout and set your configuration for this under "layout settings" on the panel page.


Anyone know of a clean way

samrose's picture
samrose - Mon, 2008-06-02 18:41

Anyone know of a clean way to limit the total height or width of a pane in a panels page? Or, possibly to limit the total amount of text or content shown in a pane, programmatically?

I know we can use <!--- break ---> to specify teaser size, but I am wondering if there is something I might not be aware of that is available already in Panels 2 that can do one of the two things mentioned above. Other wise I supposed I can always just put some custom PHP into the site I am working on, to automatically insert the break after so many lines.

Sam Rose
Social Synergy
Open Source Ecology
P2P Foundation


There is nothing in Panels

merlinofchaos's picture
merlinofchaos - Mon, 2008-06-02 19:03

There is nothing in Panels to do this specifically; if you'reinserting node content, right now it's best to do that with your node-*.tpl.php