Backgroundcolor if No Breadcrumbs

rated by 0 users
This post has 4 Replies | 3 Followers

Not Ranked
Posts 27
Points 405
FrankDirks Posted: Mon, Apr 21 2008 3:40 PM

Hello,

I want to change the color of the BreadcrumbArea. This works fine if a breadcrumb is shown, but it doesn't work if no breadcrumb is shown. In that case the backgroundcolor of the entire page is shown. Can anyone tell me how to change the backgroundcolor of the BreadCrumbArea?

THX Frank

 

  • | Post Points: 20
Top 10 Contributor
Posts 3,424
Points 65,735
CS Developers
Ben Tiedt replied on Mon, Apr 21 2008 4:06 PM

The breadcrumb area is only rendered if there are breadcrumbs -- this is why you don't see the breadcrumb background color when no breadcrumbs are shown.

Ben Tiedt's Blog

  • | Post Points: 20
Not Ranked
Posts 27
Points 405

Yes I know. And the empty area (if there are no breadcrumbs) has the background-color of the page. That area I want to give the same color as when there are breadcrumbs.

  • | Post Points: 20
Top 10 Contributor
Posts 3,424
Points 65,735
CS Developers
Ben Tiedt replied on Mon, Apr 21 2008 4:22 PM

FrankDirks:

Yes I know. And the empty area (if there are no breadcrumbs) has the background-color of the page. That area I want to give the same color as when there are breadcrumbs.

 

This would require a theme change...

You could update the Common/Master.master file in the theme and wrap the <asp:ContentPlaceHolder runat="server" ID="bbcr" /> control in a <div>...</div> tag that identifies the proper styles for both height (since it may have no content) and background color.

 

Ben Tiedt's Blog

  • | Post Points: 20
Not Ranked
Posts 27
Points 405

THX Ben,

I understand and will change the theme a little bit.

Frank

  • | Post Points: 5
Page 1 of 1 (5 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com