Skip to Content Skip to Menu

How to change the default class sectiontableentry

  • massl
  • massl
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
13 years 7 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:
Code:
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:
Code:
$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 or Create an account to join the conversation.

  • tinetto
  • tinetto
  • OFFLINE
  • Posts: 114
  • Thanks: 38
  • Karma: 12
13 years 7 months ago #152229 by tinetto
i think you can adjust the "CB sectiontableentry" changing the css file

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

bye

Please Log in or Create an account to join the conversation.

  • massl
  • massl
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
13 years 7 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum