change only sidemenu graphic

Author Message

ivan posta

Friday 20 March 2009 12:52:05 am

hi

In http://now.ezpublish.no/eng/Getting-started
the sidemenu (left menu) use the same images of the box in the main (background center content) like :box-1-border-mc.gif,box-1-border-ml.gif,box-1-border-mr.gif ..... so if I change one it changes two.

I need to change the graphic of only the sidemenu ?

how I can do it ?

thanks

André R.

Friday 20 March 2009 1:35:30 am

It is easy if you use the classes provided to you to override sidemenu using css selectors.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

justin kazadi

Friday 20 March 2009 1:44:37 am

Hi,
if you change the graphic of the left , you will change also the graphic of the center.

but if you want to change just the graphic of the left then open the file located in

.../design/ezwebin/templates/menu/flat_left.tpl

and change or rename the css classe for example .border-mc TO left_border-mc in css file

left_border-mc{
background:transparent url(images/box-1-border-tc.gif) repeat-x scroll left top;
}
in your new css selector replace the image by yours.
i think this can help you
good luck

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

ivan posta

Friday 20 March 2009 1:52:22 am

thanks.. I'll try it.

ciao

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.