Theme style css for a BWC module

Hi,

I can successfully modify the theme (7.6) with a custom.less file in /custom/themes/custom.less.

Example :

#sugarcrm .headerpane{

    background-color: orange !important;

}

But I can't change style for a BWC module ? They are loaded in a iframe with a RacerX theme. Do I have to create a custom.css file in custom/themes/default/css like a 6.5 CE ? Or custom/themes/RacerX/css ?

How to change style of a #bwc module ?

Thanks !

Jonathan

  • Ok to conclude here is what I did. Note that I never found how to change the style for a bwc module. I tried a style.css in custom/themes/RacerX/css of custom/themes/default/css but nothing worked. And the bwc module is loaded in an iframe.

    Based on this post from Shad Mickelberry

    http://blog.shad.me/2015/09/sugarcrm-7-hide-completed-activities-in-calendar/

    I created a logic hook to insert this style with a PHP echo for a particular status :

    <style>

    .meeting_item[status="Planned"] {

    background-color: orange !important;

    }

    </style>

    If someone find a better way, just tell me.

    Thanks,

    Jonathan