Shape 5

Joomla Templates => Business Pro - Club => : redback June 15, 2014, 04:51:00 PM



: Breadcrumb and Table background color
: redback June 15, 2014, 04:51:00 PM
Hello,

Joomla 3.3.1, template Busines_pro 1.0 and JCE Editor 2.3.4.4

Website address for problem - http://www.camelsaust.com.au/new14/capture-handling-of-camels/camel-transport

I have created a table in the article Camel Transport using JCE Editor with the following attributes;
<table style="width: 100%; border-width: 0px; border-style: solid; background-color: #c5c5c5;" border="0" cellspacing="1" cellpadding="0" align="center">

I have then added to all cells a background of #FFFFFF.

In the admin of the article I can see the table displayed correctly, see attached screenshot table.jpg

In the front end the table is not showing the cellspacing="1' see screenshot notable.jpg

Also in trying to fix the problem I have done something to mess up the layout of the breadcrumbs but cannot see how to fix it. See screenshot breadcrumbs.jpg

Thanks



: Re: Breadcrumb and Table background color
: redback June 15, 2014, 11:14:46 PM
All sorted.

Added the following to bootstrap-default.css

.tblcamel {
    border-collapse: collapse;
}

.tblcamel, .tblcamel th, .tblcamel td {
    border: 1px solid #c5c5c5;
}



: Re: Breadcrumb and Table background color
: mikenicoll June 16, 2014, 02:15:03 PM
Glad you got it sorted.

I would suggest adding any code edits to the custom.css so they don't get removed when you update Joomla. Just use !important calls if you need to override any defaults.

-Mike