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.
I have removed the left sidebar region from my Gateway subtheme. Some of my pages have a horizontal scroll bar underneath the content, which scrolls the content across, not a lot though but I do not want the scroll bar, I just want a fixed width. I have made the width of the main area and the front region all to be 900px - this makes the areas wider, but doesn't remove the scroll bars. any ideas?
thanks
Comments
Comment #1
carlbowles100 CreditAttribution: carlbowles100 commentedIts whenever I add a picture that is quite big to either the content or into the front region.
Are the content and front regions contained inside something like a div or another region that I could try resizing ?
Comment #2
ipwa CreditAttribution: ipwa commentedDo you have a link where I could have a look?
Comment #3
carlbowles100 CreditAttribution: carlbowles100 commentedthanks a lot for your reply, the problem was that an image i inserted in to the front block region on all pages was wider than the width of the main content area, so ive removed the sidebar region as this isnt needed anyway, and ive increased the width of the main content area and the front block region in the css
thanks alot
Comment #4
VM CreditAttribution: VM commentedbased on #3 this is fixed.
Comment #5
ipwa CreditAttribution: ipwa commentedIf I add width:100% to the images inside block regions, images should get scaled down. Might be worth overflowing them too to make sure we never get scrollbars. Making a quick patch soon.
Comment #6
carlbowles100 CreditAttribution: carlbowles100 commentedgreat thanks
Comment #7
ipwa CreditAttribution: ipwa commentedKeeping it open until I add patch
Comment #8
carlbowles100 CreditAttribution: carlbowles100 commentedok sorry.
Comment #9
ipwa CreditAttribution: ipwa at manifesto commentedOn second thought, would not be good really to make all images 100%.
On the 2.x branch this theme is based on Bootstrap so it gets rid of this issue.