|
|
#1 |
|
Junior Member
Join Date: Aug 2008
Posts: 24
Rep Power: 5 ![]() |
I have edited the categories.php file under includes/classes/kernel so I can show more subcategories on the home page under each category.
I have my number of categories for home page set to 2. Because of the increased subcategories, it makes on column wider than the other. The subcategories make it stretch. So, since one of my categories has 6 subcategories and the category below it has two, the right column, where the larger number of subcategories are, is much wider. I'd prefer it if I could have the subcategories wrap tightly under the category, say two or three per line rather than be so wide. Where/how/can I change this so that the text wraps and the columns are of equal size? I've tried various things but isn't working. I probably don't know which file to alter. Thanks
|
|
|
|
|
|
#2 |
|
68 Evangelist & Developer
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,676
Rep Power: 48 ![]() ![]() |
I believe you would want to edit the browse.tpl file. Try adding width="50%" to both of the <td> declaration. I haven't tried or tested this.
Around line 17: PHP Code:
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.5) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as my store with Templates, Mods & Docs Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2008
Posts: 24
Rep Power: 5 ![]() |
Thanks Mike.
No, that's doesn't have any effect on it. I added this to the css: .main td { width: 50%; } That works. I tried this yesterday and must have typed something wrong or it was just too late in the day!
Last edited by domino; 09-07-2008 at 08:39 AM. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Main Category Table Width | zavala77 | HTML, CSS, and Design Help | 2 | 07-10-2008 09:43 PM |
| Removing browse category table from main page. | gabs | v3.0 Questions & Support | 1 | 06-24-2006 12:37 PM |
| 3.0.xx upgrading to 3.1... is this normal? | Mikael | v3.1 Questions & Support | 4 | 05-23-2006 04:36 PM |
| Photo table width | newone | v3.0 Questions & Support | 0 | 05-05-2006 08:24 PM |
| Main Table width? | PonyTrader | v3.0 Questions & Support | 2 | 04-19-2006 12:48 PM |