Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2013-12-06
4
240 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
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).

856 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