vendredi 24 octobre 2014

Style FramedPanel using Theme Builder

Hi,

I would like to set one text color in the ContentPanel header and a different one in FramedPanel header. In the neptune.theme file in panel and framedPanel sections file I've added the following:


panel {

...

headerText = util.fontStyle("Helvetica, Arial, Verdana, sans-serif", '15px', '#157fcc', 'normal');

}


framedPanel = util.extend(panel, {

...

headerText = util.fontStyle("Helvetica, Arial, Verdana, sans-serif", '15px', '#ffffff', 'normal');

})


This sets the color from the panel section #157fcc also to framedPanel. The line in framedPanel does not override this color.


Could you please help me with this issue?


Thanks!






Style FramedPanel using Theme Builder

Aucun commentaire:

Enregistrer un commentaire