Is it safe to style .sfPublicWrapper?
Generally I avoid styling classes with the sf (SiteFinity) prefix to avoid causing problems with the Sitefinity interface, but I would like to find a good wrapper class to style the body of my pages. Can I style the .sfPublicWrapper class? I would like to add a border, background color and set the font family.
Hi Dan Sorensen,
"sfPublicWrapper" is set to the wrapper of all public pages if they are not based on a masterpage (it is not set to the body tag). You can use it for styling purposes.
The CSS rule set applied to this class in Basic theme (the default public theme which comes with a blank Sitefinity installation) is:
.sfPublicWrapper
margin: 20px auto;
padding: 0;
width: 900px;