e107help.org Q&A
0 like 0 dislike
Hello to all,

I have created an item in the horizontal bar of the menu. Let's say it's called "Item". The dropdown menu contains 3 items (let's say Item1, Item2 and Item3).
Item1 is itself a dropdown menu containing 5 sub-items each with a title.
The problem is that the width of this sub-menu is quite small and the title of the items is bigger than the drop-down sub-menu.
How can I change this width?
Thanks in advance for any help,
Thierry
e107 version 2.3.0
in Other by (26 points) 1 3 10

1 Answer

0 like 0 dislike
Hmm  styling is done in a css file. Which one depends on system, theme and also where.
Take a look here and just dive into it (reading) to see how things are 'created'.
https://github.com/e107inc/e107/search?p=1&q=dropdown+width   (related results from e107 code).
Since you know what is wanted, find something that looks like it could be used, add or change (backup first of course), test/experiment.
Which type (by width;margin etc...) you can change or add testing will give clues...
Yes it is labour.. but that is how most started doing theming... trial and error.
by (3.4k points) 8 9 11
Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
988 questions
1,384 answers
2,511 comments
2,511 users