Custom CSS tutorial | WordPress.org

Hi @bondimedical3,

In order to add those styles to a particular page you can follow these steps:

1. Create a new custom HTML snippet (default code type).
2. Add your code between <style> tags.
3. Select auto-insert location Site Wide Header or Site Wide Footer.
4. Add conditional logic as needed to target just the page you want, in your case you can use the page URL rule + contains “contact-us”.

Your full code should be:

<style>
.column {
  float: left;
  width: 50%;
}

/* Clear floats after the columns */

.row:after {
  content: "";
  display: table;
  clear: both;
}
</style>

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here