Currently we are thoroughly watching over the situation in Ukraine and trying to support the brave and unstoppable spirit of Ukrainian nation in fight against Russian invasion by donating to the official resources provided by the Government. NING is standing with Ukraine in this fight for freedom and independence and if you want to show your support you can donate here.
Слава Україні! Героям Слава!

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

NC for Hire

Hello NCs,

This tip is inspired by Manuel France's request for a clickable background and has been tested in the Design Studio using the Newspress theme.

Tested in Firefox 18.0.2, Chrome Version 24.0.1312.57 m and IE9.

Have you ever wanted to utilise a page wrap advert like the one Empire Magazine had recently?

You might have a sponsor that wants maximum exposure for a week or two, and tied in with the usual banner ads etc, a page wrap can certainly give them that: click on it and it takes you to their page!

I am going to assume that you can design the background image yourself, although I have attached a PSD file to act as a rough guideline for the Newspress theme - pleased don't criticise me for the crudeness of it, every network is different and will require bespoke images.

First off, the script. Put this in your custom code section, making sure to change the http://www.yoursponsorurl.com.

<script type="text/javascript">
x$(document).ready(function() {
x$('.xg_theme #xg_themebody').click(function(event){
if ( this === event.target ) {
window.open('http://www.yoursponsorurl.com');
}
});
});
</script>



Now for the css, which you need to put in your Advanced CSS section.

.xg_theme #xg_themebody {
cursor:pointer;
background: url( http://yourURL.com/image/bg.png) no-repeat center top;
}

.xg_theme #xg {
cursor: auto !important;
}



The CSS above requires you to replace the image url with your own sponsor's background.

I don't have a live demo as this tip is really just a response to the previous thread so if anyone gets it up and running then please post the results.

I have also attached the script and css in a txt file.

Warning: You will see the background image on sign up pages, invite pages and some other areas where it might not look so hot. There are no doubt some css tweaks for this but I'll leave that to others :-)

Enjoy

SP

More tips n' stuff

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • Awesome tip! Thanks for sharing, SP. I'm sure this will be really useful for NCs that run ads or those who just want to give a big shoutout to sponsors.

    —Aaron

    • NC for Hire
      Hadn't contributed anything meaningful in a while so I hope this is of value!
      Thanks for featuring it, Aaron.
      SP
  • SP!!! U R THE ONE!!!

    Wonderful job ;-)

    Thank you so much

    • NC for Hire
      You're welcome. All I need now is 10% of your ad wrap revenue. :-)
      SP
      • *LOL*  I'd donate.......if I only had a sponsor.  lol  Seriously though, thank you SP

      • As soon as I sold it, I get back to you ;-)

        Normaly next week if everything goes smoothly...

        Thanks again.

        BTW the EMPIRE site is a ning website???

  • And as in the old design code if I can help?

    • NC for Hire

      not sure I follow, limadenoche, have you tried it in the old editor?

      • I've tasted in the old editor does not work, it seems that the code is made ​​to the templates in the new editor.

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

scott claxton updated their profile
19 hours ago
Rhonda liked ⚡JFarrow⌁'s discussion Ning Creators Sound Off: Share Your Network
Mar 27
⚡JFarrow⌁ updated their profile photo
Mar 24
Markus Miner and ⚡JFarrow⌁ are now friends
NC for Hire
Mar 19
Markus Miner replied to ⚡JFarrow⌁'s discussion
Ning Creators Sound Off: Share Your Network
"Man I'd love the help I was about just start a new network"
Mar 19
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Ning Creators Sound Off: Share Your Network
"I can fix that... ill send you my contact info. no problem"
Mar 18
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Ning Creators Sound Off: Share Your Network
"I can fix that... ill send you my contact info. no problem"
Mar 18
Markus Miner replied to ⚡JFarrow⌁'s discussion
Ning Creators Sound Off: Share Your Network
"Changed my design and now my logo overlap my new background header with no option to remove it.…"
Mar 15
Markus Miner replied to ⚡JFarrow⌁'s discussion
Ning Creators Sound Off: Share Your Network
"Because Ning is a terribly ran business with lack of upgrades and becoming obsolete "
Mar 15
Paul Corona replied to Anastasia_Ning_Support's discussion
Migration FAQ
"It might be transferred, but finding it and setting it up in a usable format is virtually…"
Mar 14
How to Speak to Travelocity Customer Service updated their profile
Feb 26
⚡JFarrow⌁ posted a discussion
Its been a few years since we have collaborated on a Community Share Post.   I would like to know…
Feb 24
More…