Breadcrumb formatting

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
tawnip
Propeller Head
Posts: 24
Joined: Sat Jan 24, 2015 10:59 am

Breadcrumb formatting

Post by tawnip »

I think I have tried it all and even hand coded some craziness. I cannot get my Breadcrumb to be the same font size. I just want it all to be .8em and my links have another idea. I have tweaked:
breadcrumbsProxy, a.MCBreadcrumsLink, a.MCBreadcrumsLink:hover, a.MCBreadcrumsLink:visited. The "You are here:" and "active topic" have a larger font.

HELP please and thank you. T

Code: Select all

a.MCBreadcrumbsLink
{
	font-family: sans-serif;
	font-size: 0.8em;
	font-style: italic;
	line-height: normal;
	text-decoration: none;
	color: #007dc3;
}

a.MCBreadcrumbsLink:visited
{
	font-family: sans-serif;
	font-size: 0.8em;
	font-style: italic;
	line-height: normal;
	color: #a9a9a9;
}

a.MCBreadcrumbsLink:hover
{
	font-family: sans-serif;
	font-size: 0.8em;
	font-style: italic;
	line-height: normal;
	color: #fac115;
	text-decoration: none;
}

MadCap|breadcrumbsProxy
{
	font-family: sans-serif;
	font-size: 0.8em;
	font-style: italic;
	line-height: normal;
	mc-breadcrumbs-prefix: 'You are here: ';
	border-bottom: solid 1px #007dc3;
	color: #a9a9a9;
You do not have the required permissions to view the files attached to this post.
Psider
Propellus Maximus
Posts: 811
Joined: Wed Jul 06, 2011 1:32 am

Re: Breadcrumb formatting

Post by Psider »

So the blue text is the wrong size but the grey text is the correct size?

If so, I *think* what's going on is CSS inheritance.

You've set the proxy to 0.8em, which means 0.8 of the normal p font size. Then you've set the font size on the breadcrumb link (a tag) to be 0.8em, which means 0.8em of the breadcrumb proxy size, not 0.8 of the p size. So say your p size is 10pt, the breadcrumb proxy will be 8pt and the links will be 6.4pt (assuming my maths is right :p )

So if you remove the font-size from all the a.MCBreadcrumbLink entries, then I think they'll display as you want.
Post Reply