Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi,
- On default this wont work, cause table td has no class so add them dynamically
- overwrite template view in
- /components/com_contentbuilder/views/list/tmpl/default.php
- Around linre 510 add to <td> tag the following
- <td class="<?php echo $key; ?>">
- Then control the output with your css file like e.g.
- table.category td.col17,table.category td.col21{
- margin:0px;
- padding:8px 0px;
- border-top:1px solid #222222;
- width:233px;
- }
- Change the numbers according to your output
- And in case you have more list views then add to the table
- <table class="category_<?php echo $this->form_id?>" width="100%" border="0" cellspacing="0" cellpadding="2">
- Hope this helps
- best
- t
- ===========================
- You can also use this to hide the TH as well for mobile views.
- <<?php echo $th; ?> class="sectiontableheader <?php echo $label; ?>">
- Around line 353 in default.php
- ===========================
- http://crosstec.de/en/forums/37-contentbuilder-general-forum/72984-column-widths-in-list-view.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement