Post by Gilmore » Wed Oct 08, 2014 11:21 am

I noticed in 2.0 that there is not a separator for the breadcrumbs. Is there and easy way to add one? I messed around a little with the snipplet from 1.5.x in the category and product .tpl and controller files, but all I managed to do is break it! lol
Anyone have any ideas on this?

Thanks!

Gilmore


User avatar
Active Member

Posts

Joined
Thu Aug 12, 2010 7:33 am

Post by ogun » Mon Oct 13, 2014 9:25 pm

If you haven't found it already, look for ".breadcrumb" in stylesheet.css - the separator is defined there.

Active Member

Posts

Joined
Tue Aug 14, 2007 6:04 am

Post by IP_CAM » Tue Oct 14, 2014 8:39 am

It's probably not that easy in v2.0, I haven't found it, exept in some featured or whatever sections, where it's VALUE has been defined as in older versions.

OC_2.0\opencart-master\upload\catalog\view\theme\default\stylesheet\stylesheet.css

OR THEN, it's one of those, empty by default, content values, sorry I did not test it:

Code: Select all

.breadcrumb > li + li:before {
   content: '';
   padding: 0;
}
.breadcrumb > li:after {
   content: '';

Code: Select all

/* breadcrumb */
.breadcrumb {
	margin: 0 0 20px 0;
	padding: 8px 0;
	border: 1px solid #ddd;
}
.breadcrumb i {
	font-size: 15px;
}
.breadcrumb > li {
	text-shadow: 0 1px 0 #FFF;
	padding: 0 20px;
	position: relative;
	white-space: nowrap;
}
.breadcrumb > li + li:before {
	content: '';
	padding: 0;
}
.breadcrumb > li:after {
	content: '';
	display: block;
	position: absolute;
	top: -3px;
	right: -5px;
	width: 26px;
	height: 26px;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
Ernie
openshop.li

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Gilmore » Tue Oct 14, 2014 1:46 pm

Thanks ogun and IP_CAM! I had already found the answer, but unfortunatly the permissions weren't right on the forum so I couldn't post it! lol

Thanks!

Gilmore


User avatar
Active Member

Posts

Joined
Thu Aug 12, 2010 7:33 am
Who is online

Users browsing this forum: No registered users and 109 guests