Place a text before BreadCrumb

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
4/11/2014 1:18:20 PM
Gravatar
Total Posts 16

Place a text before BreadCrumb

Hi,

I would like to place a text "You are here: " before my breadcrumb control, how is the best way to achieve this?
I already placed it in the layout.master but the breadcrumb is set on the line below my text, how can I avoid this?

Thanks

Filip

4/11/2014 4:16:36 PM
Gravatar
Total Posts 1991

Re: Place a text before BreadCrumb

Hi,

The easiest way to do this is to use the CSS :before pseudo-element. Example:

.breadcrumbs:before {
    content: 'You are here: ';
}

Hope this helps,
Joe D.

4/12/2014 2:49:39 AM
Gravatar
Total Posts 16

Re: Place a text before BreadCrumb

Thanks for the fast reply, will give it a try.

 

Filip

You must sign in to post in the forums. This thread is closed to new posts.