Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you add a little margin for icon space next to menu items in Unity bar menu? I'm trying to make menu items appear more consistently aligned when there are both menu items with/without icon in the menu. I'm talking about this

fromthis tothis

I'm guessing this takes only few lines of changes in unity.css in /gtk-3.0/apps but I'm not sure what to change there. This is the default Ambience theme.

share|improve this question
How did you achieved it in above image – atenz Aug 25 '12 at 11:21
I GIMP'ed it :) – Flint Aug 25 '12 at 11:25

Not the clean solution you're looking for, but you could create an icon full of transparency.

It would accomplish the goal of consistent layout/indentation. Using transparency would also make it portable across themes.

share|improve this answer
+1 Great answer! also it is a cleaner way to do it, because an icon wont be affected if css was touched in the future. – JorgeArtware Jul 13 '13 at 3:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.