T
Tinnis
Member since 4/28/2020

Achievements

To start earning badges, sign up to be a Product Expert in our Product Expert Program .

Activity

No recent activity
Post history
@Ben Bennemans

You can either experiment with increasing the 30 pixel value of this line 

docs.google.com###header:style(height: 30px !important) 

E.g.  50

docs.google.com###header:style(height: 50px !important) 

Or just hide the header entirely by changing it to

docs.google.com###header

Cheers
-5 upvotes
Recommended answer
@Ben Bennemans

i have a 'work around' which will restore how a published google doc looks for you, to match the old style.

do you use a desktop computer for google docs?

if you use either FIREFOX or GOOGLE CHROME browser, then please install the 'Ublock origin' extension/addon



this is an adblocking extension, but we will be using it to change the styling of the page

open the extensions settings and go to the 'my filters' tab and paste in the following lines

​docs.google.com###header:style(position: static !important)

docs.google.com###header:style(height: 30px !important) 
docs.google.com###interval:style(visibility: hidden; !important) 
docs.google.com###footer 
docs.google.com###contents:style(padding: 10px 1% 50px 1% !important)

what these do:

- the header will stay at the top
- the header will only be 30 px high
- the header will not display the 'updated every 5 minutes'
- the footer will not be displayed
- the main text no longer has excess margins to the left and right

example image: 


(only applies to you, visiting the page with the adblock set up and active. you can disable it by clicking on the icon if required too)

i hope this helps, i also find this change to the google docs publish a baffling step back in usability and presentation.
-4 upvotes
Recommended answer
they have definitely updated the publish to web styling within the last ~day

[i've reported a similar post here #link]

the new look has a forced 20% margin on both the left and right of the content area which was not previously present, if you look at it with browser dev tools.
Recent changes to google doc's 'publish to web' results in ugly margin not previously present
Google Docs Editors•4/28/2020
Any one else who uses google doc publish to the web sharing notice a new styling update that breaks previous margins?



whereby previously the 'X' texts would not have had this awkward left margin (especially compared to where the title is positioned)

Looks really bad and does not appear to be anything i can do about it, whether with new content settings or the old documents which previously looked fine.

the new look has a forced 20% margin on both the left and right of the content area which was not previously present, if you look at it with browser dev tools.
73 upvotes
false
6595208878260104024
true
Search Help Center
true
true
true
true
true
102095
false
false
Search
Clear search
Close search
Main menu