Quote:
Originally Posted by ChrisTERiS
You welcome. As I said in a previous post, my design knowledge is minimal. It's not bad to say it. Coding is different that design. So this post is going to DaVinchi too. If you have a final css version that works, I can add it to the distribution file, to avoid all these changes after a new release.
Thank you both of you.
Chris
|
Best thing I can think of is to try and use existing stylevars in the CSS file, for instance, EG:
On the default skin, the stylevar {vb:stylevar forumhead_border} matches the colour #5A7F97 but only has a border of 1px.
So in the discuss.css the original category menu decleration looks like this.
HTML Code:
div.categoriesmenu {
display:block;
width: auto;
position:relative;
background: #C9D6DE;
border: 2px solid #5A7F97;
padding: 10px;
}
A possible replacement could be,
HTML Code:
div.categoriesmenu {
display:block;
width: auto;
position:relative;
background: {vb:stylevar forumhead_background};
border: {vb:stylevar forumhead_border};
padding: 10px;
}
The theory is that a Style designer shouldn't make any clashes with colours within the theme and the stylevars will be inherited through all styles.
The problem is finding the correct stylevars. I haven't found a stylevaro that matches the colour #C9D6DE, so without doubt some of the colours would need to be changed.
You may also need to make a new CSS template rather than a file, to use the stylevars, it's been so long since I done any styling I can't remember, I would need to experiment to be sure.