Foren

Custom Theme Css

pawan chauhan, geändert vor 11 Jahren.

Custom Theme Css

Junior Member Beiträge: 75 Beitrittsdatum: 08.10.12 Neueste Beiträge
Hi all,

Here is a strange problem that i am facing. I created a custom theme and applied it.
Then i added some 4 to 5 portlets according to the requirement.
Now that i am trying to add a background color in the theme, its not getting applied and the debugging tool tells me that somehow the css of the portlets is geeting applied.

How do i ensure that the changes made in custom.css of the theme gets applied to the whole page and not the portlet one.

kindly help.

Regards,
Pawan Chauhan.


this is what m trying to do in custom.css of theme 
body {
font-size:75%;
background:url(../images/layout/main-container-bg-repeat.jpg) repeat-x #fff;
color:#333;
font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;
}
thumbnail
Sushil Kumar Saini, geändert vor 11 Jahren.

RE: Custom Theme Css

Regular Member Beiträge: 104 Beitrittsdatum: 27.07.11 Neueste Beiträge
Hi Pawan,

Can you please try applying !important; keyword in CSS as follows.



body {
font-size:75%;
background:url(../images/layout/main-container-bg-repeat.jpg) repeat-x #fff !important;
color333 !important;
font-family:"Helvetica Neue", Arial, Helvetica, sans-serif !important;
}



Cheers
Sushil Saini