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

css schema WP Address Schema

Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributing developer to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.

Ready to upgrade your website?

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

Let's Talk