Changing the background color for Portal Pages

Posted by Rollbase User on 08-Apr-2013 06:05

Is it possible to change the background color for the portal pages? When adding a background color between the HEAD tags within the header/footer option of the portal, the color is only showed for a millisecond, and then returns to white again. Any idea?

All Replies

Posted by Admin on 08-Apr-2013 11:05

Hi Bakar,



This might be because you are also using the portaltheme.css file (assigned via Portal Properties).



Here are a few options:

1. Un-assign portaltheme.css on your portal so you have total control over the layout (note that this will also disable Lists, fields, and other component CSS)



2. Use the !important property for CSS definitions (i'd go with this instead), this will ensure that your definition is followed and not any other definitions, given that other definitions don't use the !important property.



Ex. body { background:#333 !important; }



I would also like to note that you should read the portaltheme.css file for more details on the classes, ids, and design elements used on portals.

This will help you out in defining your own theme in the future.



Hope this helps,

Piscoso, Martin

Rollbase

Posted by Admin on 08-Apr-2013 11:13

Thanks Martin, i'll have a look

This thread is closed