Social Web Directory :: Social Network Directory :: Ning Tips and Ning Support
If you want to target your Ning 3.0 Home Page, this tip should help you out. I haven't shared this yet, thinking that Ning would add a CSS Class Selector for the Body tag of the Home page. They have added classes to all pages but the home page, maybe just an oversight. As of this writing, Ning hasn't added a body class selector to the home page.
Instructions - Add Body Class Selector to Home Page:
<script type="text/javascript">
var xpathname = (window.location.pathname);
if (xpathname ==('/')) {
x$('body').addClass('home_page');
}
</script>
Example Usage - Add Home Page Body Background, using a Seamless Tile (Textured Paper)
body.home_page {
background: url("http://storage.ning.com/topology/rest/1.0/file/get/978223991?profile=original") no-repeat center center fixed!important;
}
Tags:
Welcome to
JenSocial: Social Web Directory and Ning Tips
Posted by JenSocial on May 7, 2018 at 8:35pm 9 Comments 1 Favorite
Posted by JenSocial on January 6, 2017 at 4:00pm 10 Comments 1 Favorite
Posted by JenSocial on October 22, 2016 at 1:05am 0 Comments 0 Favorites
Posted by JenSocial on September 17, 2016 at 12:00am 26 Comments 1 Favorite
Posted by JenSocial on August 31, 2016 at 3:30pm 13 Comments 0 Favorites
Ning 3.0 Tip - Add Buttons/Links Below Status Update (Quick Links to Add Photos, Posts, Discussions)
Started by Ning.spruz.com in Ning 3.0 Feb 19. 0 Replies 0 Favorites
Started by Evelina in Ning 3.0 Aug 30, 2023. 0 Replies 0 Favorites
Started by Evelina in Ning 3.0 Aug 27, 2023. 0 Replies 0 Favorites
© 2024 Created by JenSocial. Powered by
© Copyright JenSocial.