How to change the default class sectiontableentry

13 years 3 months ago #152155 by massl
Hi there,

I am using CB 1.3.1 and I changed the apperance of my default Joomla category listing to some kind of highlighting the text by chaning sectiontableentry1 and 2 in my default.css like this:
tr.sectiontableentry1 td, td.sectiontableentry1 {
  padding          : 5px 2px 5px 4px; 
  background-color : #FFFFFF; 
  text-align	   : left;
  font-family      : Trebuchet MS, Verdana, Helvetica, Arial, sans-serif;
  font-size        : 14px;
  vertical-align   : top;
}

tr.sectiontableentry1:HOVER td, td.sectiontableentry1 {
  padding          : 5px 2px 5px 4px; 
  background-color : #FFFFFF; 
  text-align	   : left;
  font-family      : Trebuchet MS, Verdana, Helvetica, Arial, sans-serif;
  font-size        : 25px;
  vertical-align   : top;
}

tr.sectiontableentry2 td, td.sectiontableentry2 {
  padding          : 5px 2px 5px 4px; 
  background-color : #FFFFFF; 
  text-align	   : left;
  font-family      : Trebuchet MS, Verdana, Helvetica, Arial, sans-serif;
  font-size        : 14px;
  vertical-align   : top;
}

tr.sectiontableentry2:HOVER td, td.sectiontableentry2 {
  padding          : 5px 2px 5px 4px; 
  background-color : #FFFFFF; 
  text-align	   : left;
  font-family      : Trebuchet MS, Verdana, Helvetica, Arial, sans-serif;
  font-size        : 25px;
  vertical-align   : top;
}

The bad thing is, CB also uses sectiontableentry and the members list and tab content gets kind of unreadable now, because it highlights whenever I move the mouse over it.

My question is: How can I change the default class from sectiontableentry to e.g. row?!?

For the members list I manages to do that by changing line 451 in the \components\com_comprofiler\plugin\templates\default\default.php to this:
$class = "rows" . ( 1 + ( $i % 2 ) );

But I didn´t find anything about how to do that for the content area of the tabs......

Please Log in to join the conversation.

13 years 3 months ago #152229 by tinetto
i think you can adjust the "CB sectiontableentry" changing the css file

try something like this:
for tab content
div.cbProfile tr.sectiontableentry1:hover td{
	font-size      : 14px;
}
and for members list
div.cbUsersList tr.sectiontableentry1:hover td{
	font-size      : 14px;
}

bye

Please Log in to join the conversation.

13 years 2 months ago #152846 by massl
Hi tinetto,

you really made my day!!! I spent a whole day looking for the answer and now, thanks to you, it finally works. Thanks a lot, your help is very much appreciated!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.420 seconds

Facebook Twitter LinkedIn