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

danpros’s picture

Status: Needs work » Fixed

Hi,

Just move below code somewhere else in page.tpl.php (in your case inside the wrapper)

	<?php if (!$is_front) print $breadcrumb; ?>

The rest is CSS.

Dan

designarti’s picture

Working! Thanks a lot!
For eveyrone else, the best location I've found is:

<div id="rounded-menu-right"></div>
</div> <!-- end menu -->
<div style="clear:both"></div>
<?php if (!$is_front) print $breadcrumb; ?>

<?php if($is_front): ?>

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

.breadcrumb {
border: 1px solid #f1f1f1;
border-radius: 5px;
margin: 2px auto;
padding: 0.3em 10px;
width:1000px;
}

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!

danpros’s picture

Status: Fixed » Closed (fixed)

Hi,

You are welcome :)

Dan