How can i change my background color of my site by only using custom css?

تم تعديل Jamie Sammons منذ 1 سنة من الدقائق. New Member المشاركات: 11 تاريخ الإنضمام: 31‏/3‏/24 المشاركات الحديثة

 

Dear Collegues Im trying to change the background-color of my site. My Main Site.

So i press on design where you can load themes etc....

This is the code i use:

 

Custom CSS:

div#main-content.layout-content.portlet-layout { background-color: red ; }

So i used the code above by changing the background color. When i press on save and reload the site ,  the site appears with white color again :-(

 

Can you tell my what I am doing wrong?

 

Thx

Fal

thumbnail
تم تعديل Ramalingaiah. D منذ 11 أشهر من الدقائق. Expert المشاركات: 489 تاريخ الإنضمام: 16‏/8‏/14 المشاركات الحديثة

Hi Fal Al,

 

please check blog: https://help.liferay.com/hc/en-us/articles/360018162131-Specifying-Color-Schemes-in-your-Theme

تم تعديل Fal Al منذ 11 أشهر من الدقائق. New Member المشاركات: 11 تاريخ الإنضمام: 31‏/3‏/24 المشاركات الحديثة

Hallo thank you.

Ok thats an good idea, but what about when you go to Websuitebuilder->Choose a site->Configuartion ->Design-> When you scroll down there is written: This Css will be loaded after the theme (In this blog you could also enter your custom css, could you?)

 

THANK YOU FOR YOUR RESPONSE.

Fal Al