Ning Help Center
  • Home
    • Looking for the Ning 3.0 Help Center?
  • Starting
    • Creating a Network
    • Custom Domains
    • Social Sharing
    • Making Money
    • More >
  • Features
    • Activity Feed
    • Chat
    • Events
    • Forum
    • Groups
    • Photos
    • All >
  • Design
    • The Design Studio
    • Customize Main Page
    • Standalone Pages
    • All About Tabs
    • Developer Mode
    • More >
  • Members
    • Welcoming Members
    • Admins & Roles
    • Members & Privacy
    • Member Profile Pages
    • Paid Access
    • More >
  • Trouble?
    • Troubleshooting
    • Billing Issues
    • Safety Center
    • Contact Us

Current status of the Ning Platform is always available on the Ning Status Blog.

Twitter Facebook
quotes

Using Images as Backgrounds of Pages and Modules

Posted by Kathryn
Share
Tweet

This screenshot shows uses of CSS in two interesting ways:  using CSS, I’ve taken a larger image and used it as the background of the entire page.

I also used a different image as a module background.

Using an image as a page background

Here is the CSS I used for the background:

body {
background:url(http://farm1.static.flickr.com/81/263957892_b03344cc29_b.jpg);
background-color: #000;
background-attachment: fixed;
background-position: bottom;
background-repeat: no-repeat;
}

In the case of the demo, I used a photo from the photo service Flickr, but if you want to upload your own photo instead, it’s possible to upload an image directly to your network as well.

Because we’re uploading the graphic in a non-standard way, we’ll be using a work-around: We’ll upload the image from a blog post. Once that image is uploaded, it will always be on the server, even if you delete the blog post.

1. Create a new blog post and use the “upload file” button to upload your graphic file. You can use all the standard graphic image types: JPG, GIF and PNG files all work well.

2. You should see a link to the file inserted into your blog entry that starts with this: http://api.ning.com/files/ Copy that link and delete the blog post.

3. Now that we have the image, we can actually replace the CSS background property with your new link at api.ning.com.

Making everything transparent

Here’s the CSS I used to make the rest of my network transparent, except for modules:

#xg { background:transparent !important; }
#xg_body { background:transparent !important; }

 

Giving the modules an image background

And the CSS I used to give the modules a background:

.xg_module { background:url(http://l.yimg.com/us.yimg.com/i/us/cmty/thm/badtz_checker.gif); }
.xg_module .xg_module_head { background:#000; color:#fff; }
.xg_module .xg_module_body { background:transparent !important; color:#fff; }

Again, you can replace the graphic image with one of your own by uploading it through a blog entry.

Similar Articles:

  • Customize Your Network’s Appearance with the Design Studio
  • The Design Studio
  • Using Images as Module Headers
  • Change the Appearance of Your Network With the Classic Appearance Editor
  • Introduction to the Design Studio
  • Advanced Designs and Developer Mode
  • Introduction to the My Page Feature

Tags: appearance, background, CSS, customize, design, Images

Author Description

Kathryn

 

Comments are closed.

Welcome to Ning 2.0!

This Help Center is for Ning Networks that were created before March 11, 2013. Click here for Ning Networks that were created on or after March 11, 2013 .

Find by Feature

Activity Feed
Add-Ons
Badges
Birthdays
Blog
Chat
Events
File manager
Forum
Gifts
Groups
Invitations
Language Editor
Leaderboards
Messages
Music
Ning Apps
Mobile Version
Notes
Pages
Paid Access
Photos
RSS
Social Sign-In
Text Box
Videos
All Features

Troubleshooting?

Billing Issues
Browser Issues
Domain Mapping Issues
Email Notifications / Invitations
Facebook Sharing App Issues
Facebook Sign In App Issues
Loading Issues
Missing Features and Options
Missing or Deleted Main Page
Ning App Issues
Sign Up / Sign In Issues
Tabs, Pages & Our Apologies
Twitter Issues

Most popular articles

  • Use Your Own Custom Domain
  • Supported Browsers
  • Troubleshoot Browser Related Issues
  • Transfer Ownership of a Ning Network
  • Archive Your Network’s Content
  • Take a Screenshot to Record What You’re Seeing
  • Troubleshoot Domain Mapping Issues

best practices

Whether you’re just getting started or your Ning Network is already up and running, everyone can use a healthy dose of new ideas. We’ve put together some Best Practices studies with examples of how other Ning Networks get people excited and involved. Check them out!

creators

Need some advice? The Creators Network is our customer community, and it’s chock full of interesting tips, ideas, and people who are doing just what you’re doing — building something creative on Ning. All Network Creators and admins are welcome. Join us!

Creators Announcements

  • Site Manager Updates for Ning 3.0 Networks
  • Watch the Webinar: Content and Community with Richard Millington
  • Mini Release: CSS classes and bug fixes
  • Ning Spring Cleaning Begins This Week
  • Watch the Webinar: How to Convert Newcomers Into Active Members.

inspiration

If you’re brainstorming about how to best build and grow your network, browse through some of these outstanding examples of popular social websites. Get inspired!

Ning Platform Status

  • All systems go!
  • Intermittent errors on a cluster of networks [Resolved]
  • Intermittent errors on a cluster of networks