Add a widget once and have it appear on all your pages
Google Sites does not have a single "add to all pages" button for widgets. Instead, you add a widget to your site's header or footer — the area that appears at the top or bottom of every page automatically. This works for most widgets: contact forms, social media buttons, newsletter signups, and custom HTML code. If you need a widget on specific pages only, you add it individually to each one.
The header and footer method is the fastest way to get the same element everywhere at once. It takes about two minutes and requires no coding knowledge.
Key Takeaways
- Widgets added to your site's header or footer appear on every page automatically without adding them individually.
- You access the header and footer by clicking the three-dot menu at the top right of your site editor, then selecting "Site settings".
- Not all widgets work in headers and footers — contact forms and some third-party embeds may not display correctly.
- If a widget does not work in the header or footer, you will need to add it to each page separately using the "Insert" menu.
Open your site settings to find the header and footer
Start in the Google Sites editor. At the top right, click the three-dot menu icon (it looks like three vertical dots). A dropdown menu appears. Click "Site settings" — this is where you control what appears on every page.
The Site settings panel opens on the right side of your screen. Look for the section labeled "Header and footer". Click on it to expand the options. You will see two areas: one for the header (top of every page) and one for the footer (bottom of every page).
Add your widget to the header or footer
Click inside the header box if you want the widget at the top of every page, or the footer box if you want it at the bottom. A text editor appears. Now you can add your widget in two ways: by inserting an element from Google Sites, or by pasting custom HTML code.
To insert an element, look for the "Insert" button or icon within the header or footer editor (usually a plus sign or the word "Insert"). Click it and choose from the available options: image, button, text, or embed. Select what you need and configure it. When you are done, the widget stays in that header or footer and appears on every page.
If you are pasting custom HTML code — for example, a third-party form or social media widget — paste the code directly into the header or footer box. Click outside the box or press Enter to save it. The code runs on every page automatically.
Test the widget on different pages
After you add a widget to the header or footer, navigate to different pages on your site to make sure it appears everywhere. Click on a page in the left sidebar, then scroll to the top or bottom to see your widget. Check at least two or three different pages to confirm it is working.
If the widget does not appear on a page, or if it looks broken, the widget may not be compatible with headers and footers. Some contact forms, comment sections, and interactive elements do not work in these areas. If this happens, you will need to remove it from the header or footer and add it individually to the pages where you want it instead.
Add a widget to individual pages if the header or footer does not work
If your widget does not work in the header or footer, go to the page where you want it. Click the "Insert" button in the toolbar at the top of the page editor. Choose the widget type you need — image, form, embed, or custom HTML. Configure it and click Insert. The widget appears only on that page.
Repeat this step for every page where you want the widget. It takes longer than using the header or footer, but it is the only option for widgets that do not work site-wide. Keep track of which pages have the widget so you do not forget any.
Remove or edit a widget that is on every page
To change a widget in your header or footer, go back to Site settings and click "Header and footer" again. Find the widget you want to edit, click inside it, and make your changes. To delete it, select all the content (Ctrl+A or Cmd+A) and press Delete. The widget disappears from every page immediately.
If you added a widget to individual pages instead, you will need to edit or delete it on each page separately. Click the page, find the widget, and click the delete icon (usually an X or trash can) next to it.
Common issues and what to do about them
If a widget appears on some pages but not others, check whether you added it to the header or footer or to individual pages. Widgets in the header or footer should appear everywhere; if they do not, try refreshing the page or clearing your browser cache. If the problem continues, the widget may not be compatible with Google Sites.
If a widget looks different on different pages — different size, different position, or different styling — this is usually because the page layout is different. Google Sites adjusts widget size based on the page width. This is normal and not a problem. If you want the widget to be a specific size, you can often adjust it in the widget settings.
If you pasted custom HTML code and it is not working, double-check that you copied the entire code block with no missing pieces. Some widgets require multiple lines of code or a script tag at the end. If part of the code is missing, the widget will not function.
Frequently Asked Questions
Can I add a widget to the header and footer at the same time?
Yes. You can add different widgets to the header and footer, or the same widget to both. Add one, then go back to Site settings and add another to the other area. Both will appear on every page.
What if my widget has a form that people fill out — will it work in the header or footer?
Contact forms and signup forms sometimes work in headers and footers, but not always. Test it first by adding the form to the header or footer and checking a few pages. If the form does not appear or does not submit responses, remove it and add it to individual pages instead.
Can I make a widget appear on every page except one specific page?
No. Widgets in the header or footer appear on all pages. If you need to exclude one page, add the widget to individual pages instead, skipping the one page where you do not want it.
How do I know if my widget is compatible with Google Sites headers and footers?
The only way to know is to try it. Add the widget to the header or footer, then check a few pages. If it appears and works correctly, it is compatible. If it does not appear or looks broken, it is not compatible with that location.
Can I add multiple different widgets to the same header or footer?
Yes. Click inside the header or footer box and add as many widgets as you want. They stack vertically. You can arrange them by clicking and dragging, or by editing the order in the Site settings panel.