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.
Hi guys, i have been working for many hours now on my homepage http://tgone.eu/ And i cant get the 2nd sidebar on the right place :( I hope anyone inhere can help me. I want to to look like this again: http://www.ajtoft.com/div/Unavngivet.png
And can anyone please help with the mainmenu!! Why is the mainmenu background so big??
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commenteduse
box-sizing: border-box;
for things you add width to that you really should not. This will not help old browsers that do not understand what that is, although you can polyfill for it.When you add a border it adds width, its that extra width that is breaking the layout. You should notice that the original does not have such borders and was not designed to have such a thing, not without the use of box-sizing or an inner wrapper on the side bar regions.
The menu has all sorts of margins around it on various elements. Use firebug etc to find and remove or override.
Tip - if you ask for CSS help be sure CSS aggregation is OFF, I can tell you that none of us can be bothered debugging your changes against aggregated CSS, because we cannot tell where a particular bit of CSS is coming from.
Comment #2
Jeff Burnz CreditAttribution: Jeff Burnz commentedThe version you are using is not 7.x-3.x, if you were there would be inner wrappers on the regions which you could use for the borders on the sidebar regions.
Comment #3
AJToft CreditAttribution: AJToft commentedI have turned the CSS aggregation OFF.
What should i do to make it better??
How do i update my version to latest??
Comment #4
Jeff Burnz CreditAttribution: Jeff Burnz commentedPlease do not change the priority, support requests are never critical (critical bugs means the software is crashing your site sort of thing).
Comment #5
AJToft CreditAttribution: AJToft commentedOk, sorry about that
Comment #6
Jeff Burnz CreditAttribution: Jeff Burnz commentedIf you are cunning you will make region templates for the sidebars and add the inner wrapper in those ;)
Comment #7
AJToft CreditAttribution: AJToft commentedHow do i do that?? Sorry for being a noob
Comment #8
AJToft CreditAttribution: AJToft commentedI have fixed the issue with the 2nd sidebar - But i still have a issue with the menu background, it's to big. And it's only if i use Superfish menu.