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

vaqz replied to Matias N Ramos's discussion Ning Developer Wanted in Hire a Creator
"Happy to help. I have sent you a private message. Looking forward."
58 minutes ago
Ryan O'Rourke replied to Ryan O'Rourke's discussion Need Help Adding Pinterest "Pin It" Button
"Hi, Tim.  Can you please elaborate on that?"
7 hours ago
Tim Atkinson replied to Ryan O'Rourke's discussion Need Help Adding Pinterest "Pin It" Button
"I've ended up using the AddThis features. Seems to work quite well with the site, and it (although…"
7 hours ago
Ryan O'Rourke replied to Ryan O'Rourke's discussion Need Help Adding Pinterest "Pin It" Button
"Yep ... that was one of the ones I tried already.  Contacted the guy over a week ago as well, to no…"
8 hours ago
Kos replied to Ryan O'Rourke's discussion Need Help Adding Pinterest "Pin It" Button
"I just did a search and wallah.  Any problems, I would contact the member who posted it. http://cre…"
16 hours ago
Fire-Tech replied to Kos's discussion OK Ning Wizards - I Need Your Help
"Just added. Much better! Thanks for sharing ;)"
16 hours ago
John Bizley replied to John Bizley's discussion 1940s Social Network Site Now Closed
"Thanks Tim and pleased my site had helped you in some way. No I will not be continuing the 1940s si…"
17 hours ago
Edie2k2 left a comment for Edie2k2
"Now Playing: Bill Withers"
17 hours ago
SweetPotato replied to Kos's discussion OK Ning Wizards - I Need Your Help
"Looking good."
17 hours ago
Tim Atkinson replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"I'm taking backups every day at the moment. Seeing all this about the Archives being buggy, am I wa…"
18 hours ago
Tim Atkinson replied to John Bizley's discussion 1940s Social Network Site Now Closed
"So sorry to hear that, John. If hadn't been for the evolution of the 1940s Social Network, I for on…"
18 hours ago
Kos replied to Kos's discussion OK Ning Wizards - I Need Your Help
"Yes that did it.  I'm still fiddling with tweaking a border but here's how it looks.  Thank you aga…"
18 hours ago
SweetPotato replied to Kos's discussion OK Ning Wizards - I Need Your Help
"Hi Kos
Yes, i just realised that the site I developed it on doesn't have other content instances on…"
19 hours ago
Ken Rich replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Done - I forwarded your info - thanks."
19 hours ago
Strumelia replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Crystal didn't need a crystal ball either.  ;D"
20 hours ago
Ken Rich replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"I have no idea, but thanks to their policy changes and future road map to nowhere, whoever is left…"
20 hours ago
Ken Rich replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Thanks for another confirmation of the obvious. Greatly appreciated."
20 hours ago
Strumelia replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Thanks Ken.  Please tell the programmers and powers that be over in JR to take a glance at my music…"
20 hours ago
Ken Rich replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Understood. I am a non coder too but I'm managing. User friendliness is exactly what I'm pushing to…"
21 hours ago
JFarrow replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"I wonder how many of these folks still work for Mode/Glam/Ning"
21 hours ago
More…