Hmmmm, I'm getting the same issue where everything disappears except for the header. Here's the code I pasted into categories_tabs.php
//image replacement
if (file_exists(DIR_WS_TEMPLATE . 'buttons/' . $_SESSION['language'] . '/cat_tab' . $categories_tab->fields['categories_id'] . '.png')) {
$categories_tab_display = '<img src="' . DIR_WS_TEMPLATE_IMAGES . 'pixel_trans.gif" alt="' . $categories_tab->fields['categories_name'] . '" />' . $categories_tab->fields['categories_name']; //image plus text
$new_style = 'category-' . $categories_tab->fields['categories_id']; //class for individual cat hover
}else{
$categories_tab_display = $categories_tab->fields['categories_name'];
$new_style = 'category-top'; //class for non-hover cat
}
// currently selected category
if ((int)$cPath == $categories_tab->fields['categories_id']) {
$categories_tab_current = '<span class="category-subs-selected">' . $categories_tab_display . '</span>';
} else {
$categories_tab_current = $categories_tab_display;
}
I added the 2nd parentheses as it looked like it was omitted as you had mentioned in one of the previous posts. You'll notice that I also switched .gif to .png as that is the format of my buttons. I assumed that was okay.
And here is what I put into the css:
category-1 {background: url(../buttons/english/cat_tab1.png) no-repeat;}
category-1:hover {background: url(../buttons/english/cat_tab1.png) no-repeat;}
category-2 {background: url(../buttons/english/cat_tab2.png) no-repeat;}
category-2:hover {background: url(../buttons/english/cat_tab2.png) no-repeat;}
category-3 {background: url(../buttons/english/cat_tab3.png) no-repeat;}
category-3:hover {background: url(../buttons/english/cat_tab3.png) no-repeat;}
I don't have hover images yet so I just referenced the same buttons. I think I've done it right, but everything except for the header is gone. I'm stumped. Any ideas?
P.S. - I should note that I didn't have /includes/modules/your_template/categories_tabs.php, as it's not in my template, so I just edited the one in template_default, but I still put the buttons within my template