In fluid mode sidebar_last_width get width attrubute with "," separator instead ".", divs "sidebar-last" and "content-group" gets wrong style attribute after theme() (style="", i.e. nothing). I created quick patch to solve this problem.

CommentFileSizeAuthor
#5 screen.png49.25 KBwinterheart
#1 fusion-fluid-sidebar.patch826 byteswinterheart

Comments

winterheart’s picture

StatusFileSize
new826 bytes
jeremycaldwell’s picture

Assigned: Unassigned » sociotech
sociotech’s picture

winterheart,

I'm not sure I understand what you're trying to fix here. The comma before the number two in the line below is specifying the precision (see here) of the number to have two digits after the decimal point:

$sidebar_last_width = round(($sidebar_last_width/($grid_width - $sidebar_first_width)) * 100, 2);

Can you provide more information about the problem you're seeing and under what conditions?

stephthegeek’s picture

Status: Active » Postponed (maintainer needs more info)
winterheart’s picture

StatusFileSize
new49.25 KB

Sorry for delay. Here is example of unmodified theme - http://test.gentoo.ru/
For main page we used 12 column fluid grid. First and last sidebar - 25 % (3 grid unit). Error appear bottom - last sidebar moved to bottom (see screen).

stephthegeek’s picture

Assigned: sociotech » Unassigned
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I know this is eons later but we weren't able to replicate this and not sure what this patch was attempting to change.

If you can provide more info on this, please feel free to re-open.