18. Ensuring Responsive Integrity

Because of the way that the HTML, CSS, and JavaScript have been built for our theme, it is already responsive for the most part. However, there are some inherent WordPress functions that we have to account for to ensure that the site is accessible on a wide variety of devices. Likewise, there are some advantages to using WordPress when building responsive websites.

We can plan for some of the disadvantages of WordPress like auto-embedding of pixel-based width and height attributes. We can also take advantage of multiple sidebars, menus, and other dynamic elements to create a more intelligent theme. However, we won’t be able to account for everything. At some point, it will be the responsibility of the user admins ...

Get Web Designer’s Guide to WordPress: Plan, Theme, Build, Launch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.