Created
December 29, 2011 20:11
-
-
Save cloudxero/1535985 to your computer and use it in GitHub Desktop.
Staff Listings - Body class home error correction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (jQuery('#staff-listing').length){ | |
jQuery('body').attr('class', jQuery('body').attr('class').replace('home','')); // removes home class from body | |
jQuery('#inner-wrap').attr('style','margin-top: 0px;'); // fix for background style | |
jQuery('#staff-listing').attr('style','background: none;'); // removes white background from staff listing | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment