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

Writer Chick {Diane} replied to Jeffrey Haskins's discussion Interesting post on Ning Facebook.....
"That gives me a different perspective that I hadn't thought of. Thanks SP! "
1 hour ago
Ryan O'Rourke left a comment for Tim Atkinson
"Hi, Tim.  Thanks for the reply regarding my interest in adding that AddThis bar to our site.  I had…"
2 hours ago
Tim Atkinson replied to Kos's discussion OK Ning Wizards - I Need Your Help
"I wasn't suggesting the script was causing the error - just wondering if the fault was related.

In…"
3 hours ago
SweetPotato replied to Jeffrey Haskins's discussion Interesting post on Ning Facebook.....
"The release of the archiver is something I'm taking as a positive. To my mind this has always been…"
4 hours ago
SweetPotato replied to Vipster's discussion How to change the text color of one navigation tab with CSS in Ning 2.0?
"I assume this is a ning 2.0 site as I don't think ning 3.0 gives menu items unique IDs.

This targe…"
4 hours ago
Anam replied to Jeffrey Haskins's discussion Interesting post on Ning Facebook.....
"Hahahha! Thanks Strumelia. Luckily I am a self sufficient gardener as well as a NC ;p
You are right…"
5 hours ago
Vipster replied to Vipster's discussion How to change the text color of one navigation tab with CSS in Ning 2.0?
"Thanks, Kos. The tab identifier xg_tab_xn76 and it's one of the middle tabs."
8 hours ago
Scott Bishop replied to JFarrow's discussion New Chat Option for 2.0 and 3.0
8 hours ago
marshall blake replied to JFarrow's discussion New Chat Option for 2.0 and 3.0
"I put this chat on my site, and it works nice. I also have the chat app on my iPhone it works not w…"
11 hours ago
Gwynnyth replied to JFarrow's discussion New Chat Option for 2.0 and 3.0
"Awwww, I haven't used a desktop in three years. I only use an iPad :("
11 hours ago
Strumelia replied to Jeffrey Haskins's discussion Interesting post on Ning Facebook.....
"Think of it this way Anam...if an EMP blows up the web we probably won't need our little networks a…"
11 hours ago
Fire-Tech replied to Anant Garg's discussion CometChat Network Edition now available for NING
"Already did it. They are checking out the bug now. Thanks :)
FT"
11 hours ago
Gwynnyth replied to JFarrow's discussion New Chat Option for 2.0 and 3.0
"Is anyone using it on their site? I'd like to take a look at it on an actual site"
11 hours ago
Strumelia replied to Jeffrey Haskins's discussion Interesting post on Ning Facebook.....
"Yeah Anam I can't imagine how creepy it must be to have NO way of backing up your own site.  I susp…"
13 hours ago
Anam replied to Jeffrey Haskins's discussion Interesting post on Ning Facebook.....
"Since March 2013 new network creators have had to go with Ning 3. We did not have a choice to opt f…"
13 hours ago
Tim Atkinson replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"Thanks, Ken, I appreciate that. I wait with bated breath...!"
14 hours ago
soaringeagle replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"the host i got i know can handle anythingthat comes up
theyare awesome
i did warn you in the 1 emai…"
14 hours ago
Ken Rich replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"I think if I get a free day to move my pages and tweak my quotas, I can open my doors. Then you wil…"
14 hours ago
Strumelia replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"Good advice Ken, thanks."
14 hours ago
Writer Chick {Diane} replied to Jeffrey Haskins's discussion Interesting post on Ning Facebook.....
"Like we need an archiver on a network we can't even migrate to yet?  smh  This just boggles my mind…"
14 hours ago
More…