You are reading the Drake CMS Official Forums archive, available for historical purposes only.
Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.
This new CSS model is
definitive, there will be additions to it but if you adapt the
templates to it now there will not be any other major breaks in
future.
Looking at the CSS files into the css
folder of the standard released templates, you can easily update
your custom template as needed.
Please discuss further
here if you have any doubt.
therenderman
Re : Discussion about the new CSS model
27 June 2007 00:02
Anonymous
I am having some major difficulties customising the new CCS model
for a new template I'm working on. Specifically the top menu. I'm
certainly no CSS guru so please correct me if I'm wrong here, but
it seems that it is impossible to fully independently style the
top menu from the main menu because of the cascading style
implementation.
For instance, if you have a custom
graphic in the background of the main menu and don't want it to
appear in the top menu, setting the .topmenu CSS to
background-image: none; should remove it but the image still
appears even after changing all 5 .topmenu styles.
Below is a copy of my cascading style set for the top menu -
menu_arrow.gif is the offending graphic which is remove for the
hover state but nor for the link state:
Is some part of the .topmenu CSS is
not being implemented properly to fully allow customisation the
menu?
...or have I missed something really obvious and
someone can put me right!
Any thoughts....
legolas558
Re: Re : Discussion about the new CSS model
27 June 2007 12:20
Anonymous
Did you try to remove the background-image from
.dkmod_menu a.menu_mainlevel:link ?
therenderman
Re: Re : Discussion about the new CSS model
28 June 2007 00:29
Anonymous
Yes I see what you're about. Deleting it from .dkmod_menu
a.menu_mainlevel:link and .dkmod_menu a.menu_mainlevel,
.dkmod_menu a.menu_mainlevel:visited, but making sure it was
present in .dkmod_menu a.menu_mainlevel did the trick - had the
background image in too many places.