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

NC for Hire

I've noticed that a lot of Ning Network Creators are experiencing issues with the spacing/padding for Ning's new Instant Ad Box - - the one you can add to the top of a Ning Network. There have been several discussions created here on Creators with these questions, and a few answers, like what JP offered here:

https://creators.ning.com/forum/topics/css-code-for-changing-height

 

I thought I would make it easy and add a tip discussion. If one exists already, my apologies.

 

Of course it depends on other CSS customization, height of the Ad you insert into the Instant Ad Box, and if you select "Above Header" or "Below Header". I only tested a fix for below the header. If you have an issue with inserting the Instant Ad Box above the header, let me know. Be sure to add your Ning Network link to this discussion.

 

I can't say what individual results will be. But, let's give this a try, and hopefully with some feedback I can make it even better.

 

Padding for "Instant Ad Box" Below Header:

  • If your Ad height is 90 pixels, try height:95px; - - as in example below.
  • If your Ad height is 60 pixels, try height:65px;
  • Adjust the top margin as needed. I'm using minus or negative, to move the Ad Box up.

Be sure you check your menu tabs. When moving up in a negative direction, you want to make sure the parameters of the Ad Box do not cover up access to your menu tab links.

 

.xg_ad .xg_module_body {margin-top:-30px!important;height:95px;}

 

Padding for "Instant Ad Box" Above Header - not tested:

I think the following code would work if you need to tighten up the spacing when adding the "Instant Ad Box" above your header. I haven't tested this yet.

.xg_ad .xg_module_body {margin-bottom:-30px!important;height:95px;}




For the record, the actual CSS identifiers are:

  • #xg_ad_above_header
  • #xg_ad_below_header

You could try first by adjusting the height of the one you're using. However, I found that the adjustments I used above returned the best results overall.

 

 

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

  • I'll have to try this the new design studio is a little harder for me to find these codes
  • This reply was deleted.
    • NC for Hire
      It looks great Kris. Are you happy with the results, or are you asking a question. ;-)
  • I just want to nudge my ad box below my header up to tighten things, but this code isn't working for me.

    • Figured it out.

      • NC for Hire

        Hi Scott!

        Always great to hear! Thanks for the update.

        Best Regards,

        Jen

  • Hi,

    I am new here and i ve just created Ning Network web, I want to add advert on the top and middle of my network but i don't know how to do it please i need your help,Thank you

    • NC for Hire

      World Recipes,

      There are ways to insert the code via script. After we all started using the script method, Ning added what are called Instant Ad Boxes. Using these boxes is the best way to add Ads. It's easier, and they will load faster.

      Go to Features Layout via My Network/Settings. Locate Instant Ad Boxes at bottom. Click on the box for "Above Header".

      Go back to home page, and EDIT your new Text Box.

      Click on the HTML button.

      Add your Ad code. To center the Ad within the Instant Ad Box, wrap all of your code within a DIV tag like this:

      <div align="center">your ad code</div>

      Save.

      Best Regards,

      Jen

      • Hi Jen,

        Thank you very much , i ve done it and it works but the adverts take a big space on the top of my network ,how can i make it small? and how can place ads in the middle of the website or on the sides of the web?Thank you

        Kind Regards,

        Sam

        • you have to create text boxes and add ads there then

  • I am having a hard time with this. when i use above header box it leaves a very large cap between the ad and the header of my network.  thank you in advance to any that can assist.  best, jm

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

Kos posted a discussion
In November we began to notice Chat "freezing up" and when we would refresh the page, it would…
Dec 27, 2024
Eva Libre posted a discussion
UpdateMerry ChristmasToday I woke up totally frustrated and determined to do something.At the end…
Dec 26, 2024
Eva Libre liked Eva Libre's discussion Ning 3.0 is antisocial!
Dec 25, 2024
Eva Libre updated their profile
Dec 25, 2024
Eva Libre replied to Eva Libre's discussion
Ning 3.0 is antisocial!
"Update
Merry Christmas
Today I woke up totally frustrated and determined to do something.
At the…"
Dec 25, 2024
Pam Givens replied to Pam Givens's discussion
Landing Page
"What I meant to say, if I could spell:
I've attempted to create a landing page and have't had much…"
Dec 12, 2024
Pam Givens posted a discussion
I've attempted to crate a landing page and have't had much success.  I'd rather have one on my…
Dec 12, 2024
Luxury Residences updated their profile
Dec 6, 2024
Asumi Carol updated their profile
Dec 2, 2024
Shada Hotel updated their profile
Nov 29, 2024
Howard Sands replied to Mark Thorpe's discussion
NING is broken?
"I am not a techie, I don't understand the first thing about it, but have a HUGE problem with Ning…"
Nov 27, 2024
Howard Sands replied to Donna MacShoe's discussion
Ning Support phone number for my 20 yr old site
"I hope this helps
Ning  https://www.ning.com/contact-us/
1-855-233-6436 (USA/Canada Toll Free)…"
Nov 27, 2024
More…

Meanwhile, you can check our social media channels