Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
At the moment the width of sidebars is subtracted from the width of content, even if sidebars aren't being displayed. It would be great to be able to allow the main content to take up 100% width if sidebars are absent.
Comments
Comment #1
himerus CreditAttribution: himerus commentedI will verify this, but can you send me screenshots of the settings in your theme settings page for content zone, and also a screen of the site without sidebars where the content is NOT full width?
By default, it "should" take the full container width for the content zone, and actually "ignore" the selected item for the content zone, so if neither sidebar is present, it should be taking the full width...
If this is failing, it's a bug, and not a feature request, so I'll update the ticket accordingly, and do some testing on my localhost tomorrow on trying to replicate.
Comment #2
himerus CreditAttribution: himerus commentedOkay, I do see the issue here... replicated it in my sandbox...
Definitely a bug... will get fixed asap!!
Marking critical as well... this really IS quite important in the way the grid and usage of the ns() function should be working.
Comment #3
himerus CreditAttribution: himerus commentedI found the error in template.php under _omega_dynamic_widths
changed to:
Change committed and fixed in Alpha8 release.
Comment #4
patrickharris CreditAttribution: patrickharris commentedThanks!
Comment #5
himerus CreditAttribution: himerus commentedMarking back as fixed.
Let me know if there are any further issues with this. I plan to release the first Beta version for D7 this weekend. Most everything seems ironed out, and ready to put in production on D7.
Comment #7
hexabinaerErm - seems like I'm having the same issue as described above with 7.x-3.0
My fault? Anyone else?
Comment #8
superstar CreditAttribution: superstar commentedThis is only occurring in 7.x-3.0 if debug mode is on. Log another issue.
Comment #9
code-brighton CreditAttribution: code-brighton commentedThis is still an issue... I wouldn't have found the solution if it hadn't been for this post... was another issue opened in the end? Be worth getting this fixed if possible
Comment #10
giupenni CreditAttribution: giupenni commentedIn 7.x-3.1 the bug persist.
Comment #11
giupenni CreditAttribution: giupenni commentedThis is occurring if debug mode is off too.Comment #12
giupenni CreditAttribution: giupenni commentedThis is occurring if debug mode is off too.Comment #13
zhangx1a0 CreditAttribution: zhangx1a0 commentedI am having the same issue here. Debug is off.Found the problem. I need to set content region as main region in content zone, then it will scale to full width.
Comment #14
jimmyr CreditAttribution: jimmyr commentedI am still having a problem with this.
I'm not sure how to
'set content region as main region in content zone' as mentioned in the previous post.
Comment #15
steinmb CreditAttribution: steinmb as a volunteer commented