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'm trying to get a block in a region to go full width, but there appears to be a 10px margin that doesn't seem to have any css creating it. I can change the left margin on the main div but then the right doesn't go full width. I created a page.tpl in my theme from the aurora templates but it seems like it's just printing the regions, didn't see anything there calling a css class with a padding or a margin that might be causing this. Thanks for any assistance.
Comments
Comment #1
mrynearson CreditAttribution: mrynearson commentedI'm trying to get a block in a region to go full width, but there appears to be a 10px margin that doesn't seem to have any css creating it. I can change the left margin on the main div but then the right doesn't go full width. I created a page.tpl in my theme from the aurora templates but it seems like it's just printing the regions, didn't see anything there calling a css class with a padding or a margin that might be causing this. Thanks for any assistance.
Comment #2
Snugug CreditAttribution: Snugug commentedAurora literally ships with no CSS. I would turn off Drupal's CSS compression and use a web inspection tool (the one built into Google Chrome is fantastic) to inspect the element with the supposed margin on it and determine where any margin may be coming from. When doing so with a good web inspector, it will show you what line of what file the CSS is coming from.. It would be coming from any number of places, with the one exception being Aurora.
Comment #3
Snugug CreditAttribution: Snugug commentedComment #4
iamcarrico CreditAttribution: iamcarrico commentedClosing, as there has been no further discussion.