Powered by Sitefinity

The Sitefinity Community Edition injects a "Powered by Sitefinity Logo" paragragh at the end of the form, which doesn't position well in my layout, so I used jQuery to fix it.

Originally I modified the css in jQuery but after testing in other browsers I found easier to just remove the "style" and the "class" from the p.poweredBySitefinityLogo and add a new sflogo class that I can tweak it in my css.

<script type="text/javascript">
 jQuery(function () {

            // "Sitefinity Community Edition" injects "p.poweredBySitefinityLogo"
            // move this into footer div id="bg" and position it
            jQuery('p.poweredBySitefinityLogo').addClass('sflogo');
            jQuery('p.sflogo').removeClass('poweredBySitefinityLogo');
            jQuery('p.sflogo').removeAttr('style');
            jQuery('#bg').prepend(jQuery('p.sflogo'));

});
</script>

Created: Monday 7th June 2010 9:28 PM
Last Modified: Monday 28th June 2010 5:03 PM LinkedIn link: View Chris Mills' profile on LinkedIn
Valid XHTML 1.0! Valid CSS! Level A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0