Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I noticed in the description that the sidebars were going to be fixed width, but they are fluid as well. I was wondering if you could put out a version with fixed width sidebars and a fluid content, much like the Garland theme. Thanks
Comment | File | Size | Author |
---|---|---|---|
#6 | fixed-sidebars.patch | 1010 bytes | Jeff Burnz |
#4 | 1012228.antonelli.fixed-sidebars.patch | 445 bytes | joachim |
Comments
Comment #1
thomas4019 CreditAttribution: thomas4019 commentedsubscribe
Comment #2
flightrisk CreditAttribution: flightrisk commentedI'm also wondering about this and need fixed width sidbars. Does anyone have a quick fix? I took this theme and made my own subtheme from it, so I'm able to change any of the code. No one has responded yet, can someone help?
Comment #3
ryantollefson CreditAttribution: ryantollefson commentedHere's my attempt. It seems to work in both Chrome & IE8.
Change the following two settings in antonelli\css\layout.css
I only needed the one-sidebar layout; though the same idea should apply to the two-sidebar settings.
Comment #4
joachim CreditAttribution: joachim commentedHere's that change as a patch -- but it doesn't work with two sidebars.
Comment #5
joachim CreditAttribution: joachim commentedAlso, on a page where the content is shorter than sidebars, they overlap the footer.
Comment #6
Jeff Burnz CreditAttribution: Jeff Burnz commentedCould use display table, but really there are many ways to solve this, I will probably punt for altering the source order and switching to a negative margin layout, and throwing in some media queries to boot.
Patch uses display table, not tested very much, this will work on modern browsers, old IE I don't think so...
In essence the layout gets whittled down to this (a few other changes needed that are in the patch):
Comment #7
joachim CreditAttribution: joachim commented> I will probably punt for altering the source order and switching to a negative margin layout
I did a bit of tinkering trying to get the negative margin technique to work, but I'm afraid my CSS skills weren't up to it :(