%META:TOPICINFO{author="ProjectContributor" comment="" date="1655468868" format="1.1" version="1"}%
%META:TOPICPARENT{name="PatternSkinCssCookbook"}%
---+!! PatternSkinCssCookbook Recipe: Sidebar background color
To see if the background color really extends beyond the body, we make the body contents longer than the sidebar.

Note that to set the background color, we set both =patternWrapper= and =patternSideBar=:
<verbatim class="css">
#patternWrapper,
#patternSideBar {
	background-color:#eee;
}
</verbatim>

<div class="foswikiHelp">
This line loads the extra style definition:
<verbatim class="tml">
   * Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookSidebarBackground/sidebar.css
</verbatim>
You can write this line in %SYSTEMWEB%.%WIKIPREFSTOPIC%, in %LOCALSITEPREFS%, in %WEBPREFSTOPIC%, in your user topic, or on a single page.
</div>

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

%META:FILEATTACHMENT{name="sidebar.css" attr="" comment="css to give the sidebar a background color" date="1655468868" size="102" user="ProjectContributor" version="1"}%
