right, beware long post.
so, i'm trying to understand this luna_wotlk template. As it comes to colors, most things are pretty clear at the moment. But now i've come to the point where i want to take things a step further and things are getting confusing.
1) there seem to be 2 files wich affect the styling: style.php and luna_wotlk.css
here's the confusing part: i want to create an img for the left and right menu's in the portal, and a different one for the middle section as that one's width is longer.
so lets dig in the luna_wotlk.css file.
found the code wich should affect the left menu topimage:
Code:
th {
background: #ff0000 url({EQDKP_ROOT_PATH}templates/luna_wotlk/images/head.jpg) repeat-x;
color:#{T_HEADER_LINK};
font-size: {T_FONTSIZE2}px;
font-family: {T_FONTFACE1};
height:25px;
white-space:nowrap;
text-align:left;
padding-left:8px;
padding-right:8px;
}
now when i made changes to this NOTHING was happening. So i dug into the style.php file and found the exact same code. When i made changes there, now THAT worked. So some stuff i need to edit in the luna.css file and other stuff only works when i change it in the style.php file. I've tried searching at the wiki page, but no answers there that helped me on figuring it out. So far so good, so now i know that its in the style.php file.
all, done, made the image and replaced it with my own. Super that worked. BUT.. it seems both the middle section and the menu's use that same exact image. So into the code again to see what class is assigned to the menu's so i can assign another class to the menu sections and use the default class for the middle section. To my suprise i find this in the page_header.html file:
Code:
<td class="portal_sidebar" valign="top" style="max-width: 210px;">
{PORTAL_LEFT1}
{MAIN_MENU1_V}
{MAIN_MENU2_V}
{MAIN_MENU3_V}<br />
{PORTAL_LEFT2}
</td>
i suppose that this defines the styling of atleast the left menu because when i change the width in that line it affects the width of the sidebar.
BUT i see here that the class is "portal_sidebar"... nowhere in the template folder is that class defined. and changing that to another class while defining it in luna_wotlk.css is not working either.
so now i'm confused. Where do i change what to make it work so that the sidebar has it own styling seperate from the middle section?