A style to prevent the Gmail message composing window header from collapsing?

Dear all,

Please take a look at the attached GIF animation.

Is it possible to use a style that prevents the shown header from collapsing?



694 x 158 - 60K


  • Hi Robert,

    Use Chrome Global Black style as it is the only one that doesn't breaks anything on any websites. Don't use any other styles along with it. It works perfectly for Gmail too. It is the best one out there. Try it. You can also install Morpheon Dark extension on Chrome Web Store to complement this style and you will have the best dark browsing experience.

    Happy Dark Browsing!

  • Dear hitechlover,

    Thank you for your response!

    However, I am not sure I understand your response.

    I do not want to use any dark style but just prevent the subject header from collapsing when composing an email.

    How is your answer a response to my question?



  • Robert,

    I cannot help you with that. Maybe someone will be able to help you out. Sorry.
  • edited March 2017 Firefox
    Your mileage may vary, but this works in a quick test on a few messages:
    @-moz-document domain("mail.google.com") {
    form > div > table div.fX.aXjCH {display: block !important;}
    form > div > table div.aoD.hl {display: none !important;}
    EDIT: That didn't work with a pop-out reply. This should work with either:
    @namespace url(http://www.w3.org/1999/xhtml);
    @-moz-document domain("mail.google.com") {
    form > div > table div.fX.aXjCH,
    form > table div.fX.aXjCH {display: block !important;}
    form > div > table div.aoD.hl,
    form > table div.aoD.hl {display: none !important;}
  • Dear Jefferson,

    This is brilliant, thank you so much for your working solution! :-)



  • Hey Jefferson,

    The script stopped working for me.

    Could you please check if it still works for you?


  • Google went a whole year without changing the structure of the page?

    Can you figure out the new selectors using the Page Inspector? https://developer.mozilla.org/docs/Tools/Page_Inspector

    The old ones were:

    * <div class="fX aXjCH">
    * <div class="aoD hl">

    So you can see how they are specified in the rule.
  • Hey Jefferson,

    I am a bit confused. The selectors appear to not have changed. But still it's not working.

    Could be any other issue?

    Does this screencast help you?

    Thank you for your help!

  • It should be like that
    800 x 450 - 438K
  • @Pabli that did the trick. Thanks so much!

  • @Pabli do you have a solution for always showing the Cc field?

    Tried the following without success:

  • Anyone can help make the style compatible with the latest Gmail interface?

    Old code below:

    form > div > table div.fX.aXjCH, form > table div.fX.aXjCH {
        display: block !important;
    form > div > table div.aoD.hl, form > table div.aoD.hl {
        display: none !important;
    /*compose message*/
     .Hd .pE {
        display: none;
    .Hd .bzf:nth-child(2) {
        display: table-row!important;
    /*reply/forward message*/
     .aoP .aXjCH {
        display: block!important;
    .aoP .pE {
        display: none;
    .aoP .bzf:nth-child(2) {
        display: table-row!important;
    .aoP .aoD {
        display: none!important;
Sign In or Register to comment.