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

I know you can theme the Unity menubar in GTK+3 using CSS, but is there a way to theme it differently depending on whether a window is maximized?

This would be useful for e.g. themes where the menubar should appear standalone in the absence of a maximized window, but then seamlessly blend into the top of such a window when there is one.

Preferably, I would like to be able to do this from within the theme files.

share|improve this question
I don't think this is a CSS configurable option. It seems to me the top bar is probably hard coded since the "top bar transparency" setting toggles on maximize. – RobotHumans Feb 12 '13 at 12:31

I don't believe this is possible outside of the exit, minimize and maximize buttons. But it may be.

share|improve this answer

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.