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

Matt Whisenant is now a member of Tips and advice.
8 hours ago
Jen replied to Jamie Baker's discussion Kopfans - From Ning 3.0 to Wordpress
"I agree with TJ. It looks nice, Jamie. The narrow width is interesting, like it! =)"
14 hours ago
TJ @ jQueryHelp replied to Jamie Baker's discussion Kopfans - From Ning 3.0 to Wordpress
"Hi Jamie,
I just visited your site.  It is nicely designed and appears to be very functional and ac…"
15 hours ago
Just Asking replied to Just Asking's discussion Anyone know how to make a profile activity page?
"Yes. What I'd like to do is to turn that module into its own page."
20 hours ago
SweetPotato replied to Just Asking's discussion Anyone know how to make a profile activity page?
"There should be each member's activity feed on their profile page. Like this one:
http://live.autog&hellip;"
20 hours ago
Sophie Salmon replied to Sophie Salmon's discussion How to block email @rediffmail.com on our network ?
"Many thanks ! it's so easy !
via (my network)/main/admin/signUpSignIn and Email Domain and IP Addre…"
yesterday
Janice D Carter replied to Sophie Salmon's discussion How to block email @rediffmail.com on our network ?
"Sophie if you are on 2.0 go to your network sign up/sign in, you can block it there"
yesterday
mysticpagan replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Does all this apply to the people who migrated over from Ning 2.0 and had a sandbox site because at…"
Tuesday
Rowald replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Incredible update, thanks for this new feature Ning. Waiting for about three years for an update li…"
Tuesday
Janice D Carter replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"I know that in 2010 this was a discussion about charging for storage.  At that time, we asked for a…"
Monday
Kos replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Oye.  Can't be 'simple', can it.  *lol*  At least it's an option for 3.0 owners."
Feb 5
Yolanda van Heese replied to Yolanda van Heese's discussion New group activity on 'my profile'?
"Thanks, we'll get back to you later! "
Feb 5
SweetPotato replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Absolutely. You may need to set up the scraper differently for each platform or manipulate the scra…"
Feb 5
Kos replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"SP can I then assume what is 'scraped', can then be imported onto other platforms?"
Feb 4
Todd Underwood and VU APEX joined Ning Creators Network
Feb 4
SweetPotato replied to Yolanda van Heese's discussion New group activity on 'my profile'?
"I don't think there is an automated way but there will be custom coded ways to feed "my group activ…"
Feb 4
SweetPotato replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"You're welcome. Here, for example is JSON file containing the last 300 or so forum discussions here…"
Feb 3
Jen replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"Kos, sent you a pm."
Feb 2
Kos replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"Yeah I thought a/b that too (CSS) but the 'save' button won't work there either.  Well I'll reach o…"
Feb 2
Jen replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"WHOA, not good! Send me a private message. I'll probably have to signin to your site as Admin, hide…"
Feb 2
More…