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

----------------------------------------------------------
Opencart 1.5.1.x - 2.x


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

I'm no longer active at the OC Forum. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in Action here: http://www.jti.li/shop/
---
940+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


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

----------------------------------------------------------
Opencart 1.5.1.x - 2.x


User avatar
Active Member

Posts

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

Users browsing this forum: No registered users and 11 guests