WP Address Schema CSS

This CSS adjusts the WP Address Schema markup to appear like a traditional address: Address on one line, followed by City, State and Zip Code. Make sure you set the output to “list items” in WP Address Schema’s settings.

The WP Address Schema plugin lets you manage addresses in the backend, then use a shortcode to include the address in your site. This shortcode will output the address properly marked up according to Schema.org.

/* WP Address Schema
*
* @author Bill Erickson
* @link http://www.billerickson.net/code/wp-address-schema-css/
---------------------------------------------------------------------------------------------------- */
ul.wp-address-schema li,
.entry-content ul.wp-address-schema li {
list-style-type: none;
padding-bottom: 0;
}
.wp-address-schema .address_locality,
.wp-address-schema .address_region,
.wp-address-schema .postal_code {
display: inline;
padding-right: 4px;
}
.wp-address-schema .address_locality:after {
content: ',';
}
view raw style.css hosted with ❤ by GitHub

Bill Erickson

Bill Erickson is the co-founder and lead developer at CultivateWP, a WordPress agency focusing on high performance sites for web publishers.

About Me
Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk