Others

How to Override CSS Styles on an Embedded Microsoft Bookings Page

Muhammad TalhaMuhammad Talha Oct 14, 2026 869 views

Question details

The user is attempting to modify the appearance of an embedded Microsoft Bookings form on a WordPress site using custom CSS, but the styling changes are not applying.

How to Override CSS Styles on an Embedded Microsoft Bookings Page
Product
Microsoft Bookings
Device & OS
not provided
Scenario
Customizing the frontend user interface of a Microsoft Bookings form embedded within a WordPress webpage iframe.
Observed behavior
Custom CSS classes (such as .WpLer and .Qkr3P) added to the WordPress parent page are ignored by the Microsoft Bookings iframe due to browser same-origin policies.
Before you start

Ensure you have administrative access to your Microsoft 365 Bookings configuration dashboard, as you will need to adjust the native theme settings instead of relying on external code.

Solution 1Recommended

Utilize Native Microsoft Bookings Configuration Options

Since same-origin policies block external CSS from modifying iframes, you must use the built-in customization settings provided within Microsoft Bookings.

Because the Microsoft Bookings iframe is hosted on a different domain than your WordPress site, browser security rules restrict external CSS from altering the embedded content. To change the colors and styling, you must use Microsoft's native configuration options.

1
Log into Microsoft Bookings

Access your Microsoft 365 account and open the Microsoft Bookings application dashboard.

2
Open Booking Page Settings

In the left-hand navigation menu, click on 'Booking page' to reveal the public-facing customization options.

3
Adjust the Color Theme

Scroll to the 'Customize your page' section. Here, you can select a predefined color theme or input a custom hex color code that matches your WordPress site's branding.

4
Save and Publish

Click 'Save and publish' at the top of the screen. The embedded iframe on your WordPress website will automatically update to reflect these new native styles.

Utilize Native Microsoft Bookings Configuration Options
Same-Origin Policy Limitation: No standard CSS or JavaScript injected into your WordPress site can bypass the same-origin policy to directly target elements inside the Microsoft Bookings iframe.
Free Microsoft Office alternative

Boost Your Daily Productivity with WPS Office

While cross-domain web integrations like Microsoft Bookings can be restrictive, your daily office software shouldn't be. Choose WPS Office as a free, lightweight, and highly compatible alternative to Microsoft Office for all your document, spreadsheet, and presentation needs.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Run the Installation: Open the downloaded setup file and follow the straightforward on-screen prompts to install the suite.
  3. 3. Launch and Create: Open WPS Office and instantly start creating, editing, and saving your documents with full Microsoft format compatibility.
Seamlessly compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight installation that runs smoothly across Windows, Mac, and LinuxFamiliar, intuitive tabbed interface requiring zero learning curveBuilt-in advanced PDF editing and conversion tools completely free of charge
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't my custom CSS work on an embedded iframe?

Modern web browsers enforce a security standard known as the same-origin policy. Because the content inside the iframe (Microsoft Bookings) is hosted on a different domain than your parent page (WordPress), the parent page is blocked from applying CSS or JavaScript to the iframe's internal HTML.

Can I remove the Microsoft Bookings logo from the embedded page?

Yes, to a limited extent. You can navigate to your Booking page settings within Microsoft 365 and uncheck the option labeled 'Display Microsoft Bookings logo on the booking page', then save your changes.

Is there a way to inject CSS into the iframe using JavaScript?

No. The same cross-domain security policies that block CSS also block JavaScript. Scripts running on your WordPress parent page cannot access or manipulate the Document Object Model (DOM) of an iframe loaded from a different domain.