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

Antonio Ancelmo Matos Santos replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"And who told you that I spoke to you? you are happy with the whole situation on Ning? good for you!…"
2 hours ago
Kos replied to John Bizley's discussion How To Add Some Design To Your: Pages Categories Nav, Groups Nav & Groups Pages Nav
"Sounds like a plan.  You know me.  I'll be lingering like an annoying cold.  LOL"
4 hours ago
Garfield Archivist replied to George H. Compton IV's discussion Ning coding and styling Tool "GeoPlugin" v2.00.003
"Awesome in every sense of the word."
7 hours ago
George H. Compton IV replied to George H. Compton IV's discussion Ning coding and styling Tool "GeoPlugin" v2.00.003
"Update 8/30/15, now you can also easily add HTML to the head or the body of your network.. TJ thank…"
9 hours ago
John Bizley replied to John Bizley's discussion How To Add Some Design To Your: Pages Categories Nav, Groups Nav & Groups Pages Nav
"Thanks Kos, will do but may hold off a little posting onto creators and just add them to my site as…"
15 hours ago
Kos replied to John Bizley's discussion All New Photos Page Viewer Layout Code
"Yes, much more clear"
17 hours ago
Kos replied to John Bizley's discussion How To Add Some Design To Your: Pages Categories Nav, Groups Nav & Groups Pages Nav
"Keep 'em coming John.  We appreciate it!"
17 hours ago
John Bizley replied to John Bizley's discussion How To Add A Little Separation In Activity Feed When Someone Comments On A Post
"Hi Anam, yes it's an all new site and profile for me here on creators. Joining will be available ve…"
19 hours ago
Anam replied to John Bizley's discussion How To Add A Little Separation In Activity Feed When Someone Comments On A Post
"Is this a different site to one I joined a while back where you posted tips? I checked out your new…"
20 hours ago
John Bizley replied to John Bizley's discussion All New Photos Page Viewer Layout Code
"Just made that change, I did split it up in two parts but this should help with any confusion now :…"
yesterday
Kos replied to John Bizley's discussion All New Photos Page Viewer Layout Code
"At least I'm not the only one that got that wrong.  You may want to BOLD OUT and underline that are…"
yesterday
John Bizley replied to John Bizley's discussion How To Add A Little Separation In Activity Feed When Someone Comments On A Post
"Thanks for your kind words Anastasia, there are many others on here who provide excellent tips also…"
yesterday
John Bizley replied to John Bizley's discussion All New Photos Page Viewer Layout Code
"Thanks Garfield :-)"
yesterday
John Bizley replied to John Bizley's discussion All New Photos Page Viewer Layout Code
"Thanks Anastasia
That might be because you may have added the first part of code to your css and no…"
yesterday
Anastasia Grey replied to John Bizley's discussion All New Photos Page Viewer Layout Code
"Thanks John! That's Amazing for my Proyect. Just i wonder why i can't see " Feature Botton" Close…"
yesterday
Anastasia Grey replied to John Bizley's discussion How To Add A Little Separation In Activity Feed When Someone Comments On A Post
"Wow John! that's Great!  we finally have the best tips for ning 3 thanks to You!"
yesterday
Garfield Archivist replied to John Bizley's discussion All New Photos Page Viewer Layout Code
"I can concur that as someone who spends quite some time on their site that 500 errors have been ver…"
yesterday
Kos replied to John Bizley's discussion NEW TIP: Tidy Up Title Links In Activity When Adding Lot's Of Discussions In Succesion
"Sharp; well done John"
yesterday
Garfield Archivist replied to John Bizley's discussion All New Photos Page Viewer Layout Code
"Beautiful display of photos"
yesterday
John Bizley replied to John Bizley's discussion How To Make Your Photos List Even On Both Side ( useful for those with full page width themes )
"I do have a few of these as when adding group modules they do the same thing in big and smaller col…"
Saturday
More…