Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Width of sub menu too wide
(1 viewing) (1) Guest
Go to bottomPage: 123456
TOPIC: Width of sub menu too wide
#48762
Re:Width of sub menu too wide 9 Years, 12 Months ago Karma: 4
Has this issue been solved yet?

I looked at your website, in Chrome, and saw that the sub-menu items' width seem to be okay. However the contact us menu item was pushed down under the other items.

I solved this by setting width: 100%; to the breadcrumbs div, as such:

Code:


#breadcrumbs {
color: #555;
width: 100%;
}



Changing the width to 100% does not mess up anything in FF as the menu was displayed correctly there.

Sometimes the solution is easier than you think

EDIT:
Had another look at your site and tried to resize the window a bit and noticed that the last menu item was still dropping down to the other row.

Rewrote a bit of code to make it work.
Code added in bold, code removed as strikethrough


#breadrumbs {
background: #2a343a; /*adding the background to the parent element will let you add more menu items without having to readjust the code each time*/
height: 31px;
padding-top: 1px;

}

#ariext114 LI.ux-menu-item118 {
width: 528px;
}

.ux-menu a {
margin-top: -1px;
}

.ux-menu-link-last a {
border-right: 0 none !important; /*Removes the right-hand border of the last menu*/
}


.ux-menu-sub {background: #2a343a;}


A bit more code, but the same result and without having the menu breaking down in two when resizing.
Last Edit: 2014/04/03 14:47 By Mazfer.
The administrator has disabled public write access.
Mazfer
- Long time CSS/HTML coder
- mazindesigns.com
 
#48770
Re:Width of sub menu too wide 9 Years, 12 Months ago Karma: 0
A BIG thank you to you..This really helped me out
The administrator has disabled public write access.
 
#48771
Re:Width of sub menu too wide 9 Years, 12 Months ago Karma: 4
You're welcome
Last Edit: 2014/04/03 13:57 By Mazfer.
The administrator has disabled public write access.
Mazfer
- Long time CSS/HTML coder
- mazindesigns.com
 
#48772
Re:Width of sub menu too wide 9 Years, 12 Months ago Karma: 0
The only thing I'm left with is that when the browser is resized the menu breaks again. That's why I had that other code in there as it was suggested before to add that for the breadcrumbs area.
Any further ideas on how to accomplish everything thus far but still not have the menu break when resized?
Thanks again,
Jo
The administrator has disabled public write access.
 
#48773
Re:Width of sub menu too wide 9 Years, 12 Months ago Karma: 0
I tried adding the line min-width: 999px;

#breadcrumbs {
color: #555;
width: 100%;
min-width: 999px;
}
and noticed it resized nicely in firefox but not google chrome - any suggestions on that?
The administrator has disabled public write access.
 
#48774
Re:Width of sub menu too wide 9 Years, 12 Months ago Karma: 4
joknight wrote:
The only thing I'm left with is that when the browser is resized the menu breaks again. That's why I had that other code in there as it was suggested before to add that for the breadcrumbs area.
Any further ideas on how to accomplish everything thus far but still not have the menu break when resized?
Thanks again,
Jo


Set a width in pixels on #breadcrumbs. Setting the width in percent will cause it to resize with the window, if it's in pixels it will stay as such.

Hope that helps.

Edit:
Worked it out by a lucky guess. Set a min-width value in the #breadcrumbs css code and whola
Last Edit: 2014/04/03 15:11 By Mazfer.
The administrator has disabled public write access.
Mazfer
- Long time CSS/HTML coder
- mazindesigns.com
 
Go to topPage: 123456