PDA

View Full Version : Style FramedPanel using Theme Builder



nikolalj
24 Oct 2014, 12:59 PM
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!

nikolalj
10 Nov 2014, 10:48 AM
Does anyone know how to solve this?