Solved

How can I make my menu dropdown wider so the text fits horizontally?

Posted on 2013-12-06
4
242 Views
Last Modified: 2013-12-07
I have a site here:

www.particletechlabs.com

If you hover over the SERVICES menu option at the top you can see that the dropdown puts items that are too long on two lines.

I cannot figure out in the css where to adjust this to auto or set a width.

Any help is appreciated.
0
Comment
Question by:Donnie Walker
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
QuinnDex earned 500 total points
ID: 39702753
the width control is in your code not your css, you need to adjust the width in 2 places

change this line

<div class="fusion-submenu-wrapper level2 " style="width:180px;">

Open in new window


to

<div class="fusion-submenu-wrapper level2 " style="width:270px;">

Open in new window


and this line

<ul class="level2" style="width:180px;">

Open in new window


to

<ul class="level2" style="width:270px;">

Open in new window

0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39703128
And you would avoid having to dig through code if you put all the CSS in a stylesheet where it belongs instead of having it willy-nilly all over the place inline.

Cd&
0
 

Author Comment

by:Donnie Walker
ID: 39703166
Coboldinosaur - this is a Joomla 3.2 installation with multiple components and modules by various authors. Each one with it's own stylesheet and php code.

I don't have much say about they program things.
0
 

Author Closing Comment

by:Donnie Walker
ID: 39703542
Thanks! This code was automatically generated by a Joomla module but I found out how to do an override Thanks again!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question