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: 173

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

What's Up With Ning 3.0?

Click here to share your thoughts on what features we should develop next! - Survey will close Friday, 4/25

Projects that the Ning 3.0 Team is currently working on: 

Articles - a new way of organizing longer content pieces. Released 4/16.

Activity Feed Updates - options for more content in the activity feed.

Forum Notifications - ability for members to opt into receiving notifications of new discussions in forums. Released 4/9. 

APIs - The ability to create new members and content programatically.

For more information on what's next, visit the Product Roadmap

Latest Activity

Just Asking replied to Just Asking's discussion 'Need help defeating image crawler...'
"I will do that for the last couple.  The member is somehow still finding ones I hide on…"
52 minutes ago
Just Asking replied to Just Asking's discussion 'Anybody know of virtual world or virtual pet widgets with custom private channels?'
"I actually have a couple different ones like that installed already I'm *supposed to* be…"
55 minutes ago
Kos replied to Enrrico Torres's discussion 'how to reduce the http request'
"Agreed."
3 hours ago
George H. Compton IV replied to Enrrico Torres's discussion 'Please help to create a slider'
"Replace just the CSS stylesheet with this one. I think I have it all worked out for…"
3 hours ago
Elshara Silverheart replied to Shruti Shah's discussion 'Sign up problem'
"I seen that somewhere two on another site, not sure what it means."
3 hours ago
Fondazione ISTUD is now a member of Creators
4 hours ago
Elshara Silverheart replied to György Juhász's discussion 'Language editor issues'
"Hey, good idea! I know in Ning 2.0 the most recent translations were on the last pages of the site…"
4 hours ago
Elshara Silverheart replied to György Juhász's discussion 'Language editor issues'
"I've never heard of that happening before. Essentially you're having problems translating…"
4 hours ago

© 2014   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service