Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 17 Hours, 5 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

[SOLVED] How do I make menu vertical?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: [SOLVED] How do I make menu vertical?
#157
[SOLVED] How do I make menu vertical? 3 Years, 7 Months ago  
Noobie using Customenu. My vertical menu appears with three or two items per line.

Like
HOME | FAQ |Contact us


What file and what line of code changes this to vertical list with only one item per line so it reads?
Home
FAQ
Contact us

thanks
rustyDusty
Posts: 4
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#158
[SOLVED] How do I make menu vertical? 3 Years, 7 Months ago  
You'll have to dig a little deeper into the CSS. CustoMenu comes with it's own css file. What you can do is make the outer div a fixed width and make the buttons the same width.
Or make the buttons 100% width...
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#159
[SOLVED] How do I make menu vertical? 3 Years, 7 Months ago  
I've dug into the css and I still can't fix this problem.

I need a simpler answer.
I'm currently studying css but your code doesn't look like any of the kind that I'm studying.

Span is usually written <span>text</span>. The same thing with div <div>text</div>.

But you don't have bracketed div and spans.
Also I never see "Span.span span" anywhere which you have a lot of. I will probably understand it 6 months from now but for the moment I need to know which part of the css do I change in order for the menu to be vertical.

at the moment the code looks like this:

div.customenu_mystyle span span {
background: transparent url(../images/menu_active.gif) top left;
}

How should it look for a menu button to be listed by default on a single line?
Do I delete a span? Nope. Didn't work.
Do I add a </div>? uh uh, that didn't work either.
You see my problem(s)?!

Theres a reason someone says I am a complete NOOBIE.
Its because like me they know squat.
rustyDusty
Posts: 4
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#160
[SOLVED] How do I make menu vertical? 3 Years, 7 Months ago  
The div (in this case the one with class "customenu_mystyle") is the container div. Try giving that the width you want. So something like this:
div.customenu_mystyle {
   width: 200px;
}

The spans are there for styling purposes. And yes, CustoMenu's output DOES have normal divs and spans (like <span>...</span>).
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#612
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
Hello,

I am trying for a vertical menu too, when I insert a value for the width, like the example above all menu items are cramped together instead of displaying in vertical order.

Could you please post a complete code for vertical menu, thank you.
aravot
Posts: 8
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#613
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
If you use the default css and give the container div, that should do it.
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#614
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
Thank you for the reply, but it didn't work, maybe I am doing something wrong (highly likely), the site is not ready hence don't want to post the link, if it is OK with you I can PM or email it to you.

aravot
Posts: 8
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#617
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
Yeah, just send me an email though 'Contact'.
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#624
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
Ok, you do need to add a fixed width to the div:
div.customenu_mystyle {
   width: 200px;
}

And change the display type on the links / spans:
div.customenu_mystyle a,
div.customenu_mystyle a:hover,
div.customenu_mystyle a span span {
   ...
   display: block;
   ...
}

You also have to set the width and height you want on the most inner spans:
div.customenu_mystyle a span span {
   width: 134px;
   height: 33px
}

Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#635
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
Thank you, I am nearly done, one more question do you have css sample of individual menu item example 'template_5.css', if not can you please show what needs to be in the css file.
aravot
Posts: 8
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#636
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
The extra template css is to be able to style the menu differently per selected item. Not only the menu itself, but you can also use it to style other elements of your website differently. Like your background color/image.

A good example is old.ikzoekgod.nl. If you select one of the main menu items, the background image of the header and also the menu changes. Also the images for the hovers for all the 4 buttons are different per selected menu item.

So in the main css you ca define all tat is needed for styling the menu. And in the extra template css you can overrule the stuff you want different when that menu item is selected.
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#645
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
The site looks nice, I am trying something similar, except my images don't align if you check bevreview and hover cursor on menu you will see what I mean, how to fix this do I need to create a separate CSS file for each link or can be done in mystyle.css thanks.
aravot
Posts: 8
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#650
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
Ok, so all your menu items have different size images (height)?

You can fix that in the normal mystyle.css:
div.customenu_mystyle span.span_link_1 span {
   height: 27px;
}
div.customenu_mystyle span.span_link_2 span {
   height: 31px;
}
div.customenu_mystyle span.span_link_3 span {
   height: 29px;
}
etc...

Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#669
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
I am not sure if this is customenu issue or my template, everything works fine in FF 2.0.0.17 but not in IE7.
aravot
Posts: 8
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#670
[SOLVED] How do I make menu vertical? 3 Years, 3 Months ago  
Yeah, IE and FF are especially different when it comes too CSS.

Try removing the float:left;
And play around with the display property (changing, removing)
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
Go to topPage: 1
Moderators: Peter van Westen
Open Source Training | Online Joomla! Training and Support
MaxCDN | Content Delivery Network | Accelerate your site to the max
hosting joomla