It seems like some people (including myself) are having problems with the SpreadFireFox theme how it causes an unexplained 'white space'.
You can see what I mean, here: http://www.loveacrossborders.com/index.php
The second test node "ghk" on the front page gets cut off after
[code]
[/code]
I don't know why
is causing pages to cut in half. It happens on other pages too, especially many pages under administrator.
What can I change to fix it from causing the giant white space? I've looked through the CSS and template files over the last two days. But I haven't been able to get a solution that fixes it.
The 'major' white space occurs in both IE and Firefox :/.
| Comment | File | Size | Author |
|---|---|---|---|
| #23 | screenshoot.png | 8.4 KB | Oulegulas |
| #17 | spreadfirefox.layout.css.patch.txt | 241 bytes | sillygwailo |
| #12 | fix4whitespaceinspreadfirefox-460-15042005-2315_1.zip | 9.29 KB | Carlos Miranda Levy |
| #7 | fix4whitespaceinspreadfirefox-460-15042005-2315_0.zip | 7.49 KB | Carlos Miranda Levy |
Comments
Comment #1
enthusaroo commentedSorry! It's my first time submitting an issue. I thought that Drupal.org would have the BBcode filter on :).
*
Comment #2
enthusaroo commentedSorry! It's my first time submitting an issue. I thought that Drupal.org would have the BBcode filter on :).
*
^ Here is what was meant to go in between the [code][/code] tags in my first post.
Comment #3
(not verified) commentedThis is a duplicate of http://drupal.org/node/17844
The problem is due to a complicated interaction between CSS used in the theme and CSS used in the Drupal core. Any CSS clears (which are used extensively in the Drupal core) push content below the lowest sidebar block.
Comment #4
Carlos Miranda Levy commentedThis is not a duplicate.
Although related to the problem discussed in the link provided, the problems and fixes there relate to the Civicspace theme, not to the SpreadFirefox theme.
Comment #5
Carlos Miranda Levy commentedNote that this problem is solved in the new version of the Civicspace theme, so you may want to give that theme a try, since it's pretty similar to Spreadfirefox (which is based on the Civicspace theme).
The workaround suggested at http://drupal.org/project/spreadfirefox of removing drupal.css is too radical and generates tons of problems (particularly the left margin on most blocks based on invisible bullet lists).
Most of the issues can be addressed by commenting the clear: both; and float: left; lines on misc/drupal.css
On a recent site, where I'm not using book pages/navigation or the aggregator, I took care of the problem by commenting the following on misc/drupal.css:
However, as the site grows and book, aggregator, etc. functionality is required, I suspect I would have to further debug the theme.
My best bet is to take the new Civicspace theme, which has solved this issue and add the nice tabs from Spreadfirefox to it, which is the only thing I like better in it ;-)
Comment #6
Carlos Miranda Levy commentedYou will also need to make the following change at the end of themes/spreadfirefox/layout.css
Although, someone suggested at http://drupal.org/node/17844 to add the following as a global solution the following lines at the end of themes/spreadfirefox/layout.css
Comment #7
Carlos Miranda Levy commentedAfter spending the entire weekend exploring the different solutions presented and workarounds, the only one that completely works for me is adding a simple table to the template.
I know, many of you don't want to hear the word table, I didn't either. But believe me it's completely transparent to the layout, programming, functionality, etc. and the final result is what you expect.
Even better, this solution does not require any changes to files other than the theme site files.
I downloaded a fresh copy of the SpredFirefox theme Release 4.6.0, 15/04/2005 - 23:15 at http://drupal.org/project/spreadfirefox
I then added a single table, with 3 columns to fix the problem to the page.tpl.php and changed border to 0 for the table style of the content id in style.css
That's it. Problem solved without messing around with any file in the Drupal distribution. Just a couple of small changes in those two files of the theme.
I'm uploading my updated files in a zip file in case anyone wants to use them or anyone is kind enough to turn them into a patch.
Note that these files are for Release 4.6.0, 15/04/2005 - 23:15 of the SpredFirefox theme at http://drupal.org/project/spreadfirefox
Cheers.
ps: this solution was first sugested and is based on http://drupal.org/node/20507
Comment #8
stevryn commentedWorks great! Now...would this also work for Democratica? I have same sort of issue with that theme as well...
Comment #9
factoryjoe commentedThey're all the same problems since I used the same approach on Democratica, Spread Firefox and Lincoln's Revenge. I solved this problem with the CivicSpace theme but I haven't had a chance to port any of these three to the new technique yet.
Comment #10
stevryn commentedI enabled primary links and I love the tabbed look, just one problem, it causes my right side of the page to move waaaaaaaaaaaaayyyyyyyyy over. How do I stop it from doing this? This is one of the nicest themes I have looked at.
Comment #11
stevryn commentedAlso, I cant get your civicspace theme (any of the ones in the download) to work. I get array merge errors when I try to use them. Posted an issue about it...thanks
Comment #12
Carlos Miranda Levy commentedJust noticed that with my above fix the view/edit/track tabs don't show for users on their articles on Internet Explorer.
The fix was to remove class="centercolumn" from the td I introduced back as a
). Problem is that layout.css defines margins for centercolumn class, so had to edit layout.css to comment margin-right: 160px; margin-left: 150px; for centercolumn (twice).
So here are the updated files: page.tpl.php is changed, layout.css is introduced to the zip and style.css remains unchanged from the fix I posted before.
Comment #13
xeon2 commentedI used your patch
It works well except in "Settings " page. there is someting wrong in width。
Comment #14
serval-1 commentedProblem solved!! (I hope so...)
Try this:
Is this working for your site too??
Comment #15
dasalvagg commentedThe centerpadding fix worked for firefox, mozilla and konqueror, but not IE. I've tested it on win2k IE6. When I maximize the page it displays correctly, but when i make is smaller everything on the page (from the gallery module) moves below the blocks that I have.
Comment #16
gautam_chandna commentedHi,
I think I've fixed it.. I dont understand how.. I think I stumbled on the solution by mistake.. :-)
take a look and let me know if I've left out anything..
This is based on the original spreadfirefox theme, I didnt use any patches before working on it.
in page.tpl.php - Change to:
in layout.css Add in the end:
and you're done.. or atleast my site started working fine.. take a look http://www.ahste.com
if you have any trouble with too much white space:
contact me if you're having any trouble..
-Gautam
Comment #17
sillygwailoI have a patch, attached, that at least fixes the whitespace problem for the aggregator page(s).
Comment #18
hostile commentedHow I fixed my whitespace issues for all browsers:
First, I applied this fix:
In layout.css add in the end:
Then, at the top of layout.css:
So, forcing a width seems to help the most. This pixel width will only work for people who view the page at a res of 1024x768 and above, but you know what? It's nearly 2006. If you're still at 800x600, you deserve whatever you get imnsho.
In the layout.css file, you can force a page margin and set the width to "auto" instead of my above pixel width to center the body, but if you have a picture or something in the body, and the browser viewing is at a low res, the picture will encroach on the right blocks. So forcing a static width forces scroll bars to come at a more appropriate width.
I'll post back with the finished product, but I have found that those two things work the best.
I'm no expert, and am learning this all on the fly, so if I'm out to lunch, let me know.
HTH.
Comment #19
paddy_deburca commentedI love FF, I do most of my development with FF, I design, debug, fix, and make beautiful with FF.
Then I check with IE. The horror begins.. Most of the white space issues I have seen occurs in IE.
Here is what I have done.
I know that some of these 'fixes' should go into module.css - they will when I figure them out.
Paddy.
Comment #20
paddy_deburca commentedSorry! I did not realise that by changing the title - the entire thread would change - i thought that it would just be the comment,
Paddy.
Comment #21
Mad Maks commentedi applied some patches to fix the whitespaces. If you still see some whitespaces, feel free to reopen the bug.
Comment #22
dries commentedComment #23
Oulegulas commentedand it's still there I think.
the box of the menu disappears - only the menu items are there and the main content begins und the nav- box.
it seems that this only happens when you have a page full of forms.
"normal" pages with text are there, where they should be.
the hacks above dont work - some of them do nothing and others destroy the layout in another way(eg the nav- box header is too width and does not fit anymore the rest of the nav- box).
tested with FF, IE and all files from the cvs and drupal 4.7.
Comment #24
hedge-1 commentedSpreadfirefox and Drupal 4.7.2
Wow this is a mess... Once adding the tables to the theme in page.tpl.php and the alterations in layout and style.css files (from this file Attachment: fix4whitespaceinspreadfirefox-460-15042005-2315_1.zip (9.29 KB)) the menu at the left just came unhinged! Not mention that even in firefox it displays without any alterations for the tables, two sets of navigation icons, the spread firefox(nice ones) and the ugly lil default ones out to the left in the margin. LMAO!!
This really bad, anyone have a spreadfirefox theme that just works in 4.7.2??
I gotta move on cause this is driving me nuts and my dog is thinking I have lost my mind, and runs for the door. (she's right!)
thx
hedge
Comment #25
Mad Maks commentedthis theme is not yet for 4.7!! the cvs version is modified for 4.7 and usable.