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 using Danland on www.globi.ro with a bit of CSS modifications and I'm very thankful to everyone that contributed.
Because I'm not a PHP genius, I'd like to know if its possible to get the breadcrumb inside the wrapper, on top of sidebars and content, just after the menu div. I need this because I have some long breadcrumbs trails and it will not fit inside content div.
Could anyone tell me which modifications I need? some php snippet and where should I apply it?
Thanks in advance!
Comments
Comment #1
danpros CreditAttribution: danpros commentedHi,
Just move below code somewhere else in page.tpl.php (in your case inside the wrapper)
The rest is CSS.
Dan
Comment #2
designarti CreditAttribution: designarti commentedWorking! Thanks a lot!
For eveyrone else, the best location I've found is:
So the breadcrumb is now positioned as a div, just after the menu div, filling the whole browser lenght. We need to center it.
So just after the menu, then I've added this code in CSS
My lenght is somewhere around 1000px so I've just added that to breadcrumb as well, being careful to the margins (should be auto to the left and right).
THANK YOU, danpros!
Comment #3
danpros CreditAttribution: danpros commentedHi,
You are welcome :)
Dan