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

 

Tags: hero box

Views: 133

Reply to This

Replies to This Discussion

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/OZXOyc20-J0cM6965EEUtWJDYhipsm-g3TItvg-zpv3l1IM4TXQZfT3toU3vMMLZSB8iZpgvBbXmeWG6V*k2bw__/herobox.jpg" target="_self"><img src="http://api.ning.com:80/files/OZXOyc20-J0cM6965EEUtWJDYhipsm-g3TItvg-zpv3l1IM4TXQZfT3toU3vMMLZSB8iZpgvBbXmeWG6V*k2bw__/herobox.jpg"></a></div>

Try this and let me know! 

RSS

Latest Activity

Mike Collins replied to Rafael's discussion 'Multiple Chat rooms for Ning 3.0'
"That's a shame. Understand about the video technology although the skype integration is an…"
32 minutes ago
Michael Goebel replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"I also don't think Ning will take much notice... I have been asking them for YEARS to fix the…"
3 hours ago
Strumelia replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"It becomes a very serious problem if, along with taking away members' music player, also the…"
4 hours ago

NC for Hire
JFarrow replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"you guys are starting to impress me all over again!  thanks for the updates!"
5 hours ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"Wishing for some response from Ning here... thanks Patrick for sharing these details :) "
5 hours ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"I'm thinking bringing back the  RSS feed box would be a good thing as well. What's…"
6 hours ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"Thanks Kos! "
6 hours ago
Kos replied to soaringeagle's discussion 'killer penguins'
"Here's the updated Keyword Tool link http://bit.ly/16hsT0x"
6 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service