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

Forum

Change height of hero box

Is there a way to make the height of the hero box smaller?  Currently, it takes up too much height and I'd like for it to be shorter so more of the other stuff on the page shows up when the site is opened.

http://wherewomenblog.ning.com

 

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

Join Ning Creators Network

Email me when people reply –

Replies

  • NC for Hire

    Can you show me the code?

  • here's where i got the code to create a hero box:
    http://creators.ning.com/profiles/blogs/design-tricks-4-adding-a

    i added it all to my site and the entire box was way too tall ...in order words, it took up too much space. i removed the code from the left and center column only to get it back to the original columns for now.
    • You can resize the height by changing the height px:

      Let me know if you need help i can get it right for you!

      You will edit this': 

      .space {height:270px;} /*Height of the Hero Area */

       

      Good Luck! 

  • well, when i had the hero box all set up, i tried changing anything that had a ____px in in the code and nothing seemed to change. any other suggestions?
    • You have to match your content height px and the hero area space height. 

      let me see your what you added(your html or image)

  • i do not currently have the hero box set up since i couldn't get smaller ...gone back to original column set-up for now. the box was just way too tall using code for hero box.
    • Ok try this, 

      Lets give it try using this picture:: 

       

      Lets start:

      This code goes inside"Advanced " box

      .space {height:100px;} /*Height of the Hero Area */
      .module_text .xg_module_body {overflow:visible;}
      #spotlight {margin-left:-245px;width:741px;}
      #spotlight img, #spotlight embed, #spotlight object {padding:0; margin:0; max-width:741px;}

       

      This code goes inside "Analytics" or "Custom box"

      <script type="text/javascript">
      if (typeof(x$) != 'undefined') {
      x$("#xg_layout_column_2").attr({_maxembedwidth: "741"});
      }
      </script>

       

      Now back on the Main page, click the "Edit" button on the new Text Box in the left column (Text Box A) then insert the following snippet:
      <div class="space"></div>

       

      Now click the "Edit" button on the new Text Box in the center column (Text Box B), and insert this snippet:

      <div id="spotlight" class="space"><a href="http://api.ning.com:80/files/*tHd*uipNJBLfax4iWmVefb8uHBaS9bO9hvoRH4SlVcusSc0ekGNq7JDrO*nSBWQ9l8CsK7jnmLJBiIMka98d3w*M8hG1CIv/1064545044.jpeg" target="_self"><img src="http://api.ning.com:80/files/*tHd*uipNJBLfax4iWmVefb8uHBaS9bO9hvoRH4SlVcusSc0ekGNq7JDrO*nSBWQ9l8CsK7jnmLJBiIMka98d3w*M8hG1CIv/1064545044.jpeg"></a></div>

      Try this and let me know! 

This reply was deleted.

Search the Creators Network

Latest Activity

TJ @ jQueryHelp replied to J.Ayvar's discussion Our Ning Account has been hacked.
"Hello! This is TJ, long time developer of custom code for Ning sites.  I have been working on J.Ayv…"
12 hours ago
Ambroise replied to The Ning Team's discussion Acquisition Update
yesterday
Ambroise replied to The Ning Team's discussion Network Accessibility Update II
"The Ning2's WYSIWYG Editor work on Mobile phones. One can actually format a comment. It is not very…"
yesterday
Rob Neufeld replied to Rob Neufeld's discussion In business for a decade, still down after 7 weeks
"Kyryl, if you stepped in and saved me, thanks very much!  Thanks for your help, too, Kos.  The insi…"
yesterday
Christopher M Florentino replied to Klaus's discussion Scroll to the top
"Hey George. Thanks again for creating such a wonderful 'Scroll  Up & Down' also adding a speedy add…"
yesterday
Anna Ning Support replied to mark gardner's discussion My network is in maintenance? Message error
"Mark, it takes some time for the request to be proceeded. We appreciate your patience in this matte…"
Thursday
George H. Compton IV replied to Klaus's discussion Scroll to the top
"You're welcome. :-)I'll send you a message probably tomorrow.I've added another button for a faster…"
Thursday
Kos replied to ⚡JFarrow⌁'s discussion 110+ Useful Ning Tips and Tricks for 2.0 and 3.0
"Just amazing.  What more can be said.  Thank you!"
Thursday
Kos replied to ⚡JFarrow⌁'s discussion You May Not Know This About Facebook
"How awesome is this.  Thank you JF!!!!"
Thursday
Kos replied to Rob Neufeld's discussion In business for a decade, still down after 7 weeks
"Rob Whew!  I'm soooo glad for you!  Thank you Kyryk for coming to the rescue.  It's tough running w…"
Wednesday
Christopher M Florentino replied to Klaus's discussion Scroll to the top
"Hey George. Your Code Worked Like A Champ! I am very fortunate to have found you. I would like to o…"
Wednesday
Rob Neufeld replied to Rob Neufeld's discussion In business for a decade, still down after 7 weeks
"Yes, I discovered, after checking every day, that my network went up Dec. 2. That's great news!  Af…"
Wednesday
George H. Compton IV replied to Klaus's discussion Scroll to the top
":-) Okay Christopher here's your up and down scroll controls. See image below :-)
Ning 3.0 the code…"
Wednesday
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion You May Not Know This About Facebook
"great... glad you found it useful.."
Wednesday
Brian Antezana replied to ⚡JFarrow⌁'s discussion You May Not Know This About Facebook
"Great tip!"
Wednesday
George H. Compton IV replied to Klaus's discussion Scroll to the top
"You're welcome Christopher and Kos. :-)Christopher I'll see what I can do about the scroll down but…"
Wednesday
J.Ayvar replied to J.Ayvar's discussion Our Ning Account has been hacked.
"Thank You! It does a matter the time It will take. We want to thanks that at least Ning Support rep…"
Wednesday
Christopher M Florentino replied to Klaus's discussion Scroll to the top
"Awesome. It worked. You guys (girls) are good. I really appreciate your efforts and also making it…"
Tuesday
Kos replied to Klaus's discussion Scroll to the top
"Sorry I can't help you further.  I'm a novice myself.  Good luck"
Tuesday
Kos replied to Klaus's discussion Scroll to the top
"Where it says 'right: 75px;' just change that to
left: 50px;"
Tuesday
More…