WP Engine

Solutions
AgencyEnterpriseSmall & Medium BusinessMarketer
How WP Engine supports marketers.Benefits for marketers.Features that help you innovate.
Developer
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Explore Our Platform
Insights
Thought LeadershipTopics

Read articles, trends, and insights on these topics from leaders in marketing and technology.

Creative AgilityEnterprise PerformanceActionable IntelligenceEcosystem Integration
Resources

Access ebooks, whitepapers, webinars, and other knowledge from our ecosystem of digital experts.
Visit Resource Center.

Delivering a Slam Dunk Experience on WordPressEbook: The Ultimate Guide to WordPress Plugins15 Common WordPress Mistakes Agencies and their Clients Make
Case Studies
About
Our CompanyOur PlatformLatest News

Access the latest news from inside WP Engine.
Visit the Newsroom.

WP Engine Secures Strategic Growth Investment From Silver LakeWP Engine Unveils First WordPress Digital ExperienceWP Engine Expands Global Presence with New Office in Brisbane
Media Center

Get announcements and resources about WP Engine.

Press Releases
Careers at WP Engine
Pricing
Sales Questions?

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Compare Plans
Need Support?
Support DocumentationBilling HelpSupport

We offer support 24 hours a day, 7 days a week, 365 days a year. Log in to get expert one-on-one help.

Log in for support

Sales Questions

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Sign in
Sign in
Search

Search

Compare Plans
Call Sales +1-512-201-4819
Menu
AgencyEnterpriseSmall & Medium BusinessMarketers
How WP Engine supports marketers.Benefits for marketersFeatures that help you innovate.
Developers
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Our PlatformPricingResource CenterOur CompanySolution CenterThought LeadershipDocumentationCareers

5 Ways Chrome Developer Tools Can Improve Your WordPress Development

Nicholas Morera 5.25.2017

Whether you are working with a pre-designed theme file or building a brand new site from scratch, utilizing Chrome Developer Tools for WordPress development can significantly improve your workflow, efficiency, and ease of mind in troubleshooting bugs and issues. While this post will specifically focus on Google Chrome Developer Tools, many of these features and workflows will also apply to the equivalent tools offered by Firefox.

What are the Google Chrome Developer Tools?

Developer Tools is a set of software applications that come pre-installed with Google Chrome, which offer incredibly useful features for analyzing and improving the structure of your websites. There are about 10 different panels, each focused on a different component (Elements, Console, Network, Performance, Security, etc.).

You can access the developer tools by typing Command + Option + I on OS X or Control Shift I on Windows and Linux.

5 Ways Developer Tools can improve your WordPress Development

1. Edit HTML, CSS and PHP code directly in the browser

Using the Elements panel in Developer Tools, you can preview changes to your code directly in the browser, before making the actual changes to your source code. Having a layout issue or want to try out some different colors? You can type these into the Elements panel and immediately see the changes. In some instances, you can even do this with PHP and JavaScript files.

The Elements panel displays all of the HTML code of the page, along with all CSS styles being applied to a selected section of HTML code. One of those most useful aspects of this feature is the ability to simply hover over a given element on the page, and Developer Tools will highlight the corresponding HTML in the source code.

2. Find and eliminate conflicting CSS rules

As a site’s CSS codebase grows (and even more so when using someone else’s themefile or utilizing multiple stylesheets), it can become increasingly difficult to track down all the CSS rules being applied to a given element. The Elements panel in Developer Tools makes this immensely easy, displaying not only all the rules applied to an HTML element but also all the other elements the rule is applied to.

3. Test mobile and tablet layouts

While ideally, you should always test your sites on as many different available devices as possible, the Device Mode in Developer Tools makes it possible to see a virtual model of how your page will appear on a given device. There are preset configurations for all the most common iOS and Android devices, although custom configurations are also possible.

4. Inspect a WordPress theme before purchase

If you really want to take a look at a WordPress theme you’re considering for a project, you can utilize the Developer Tools to really analyze it before making a decision. You can study the structure of the site, assets used, performance, and any other issues you may want to consider before making a theme purchase.

5. Learn how others are writing good code

As a web developer, one of the most effective ways of improving your coding abilities is by looking at the source code of sites that you admire. Developer Tools makes it instantly clear how your favorite sites are styled and put together.


Nicholas Morera is a Lead Project Manager for Sunlight Media in Los Angeles and provides ongoing support and maintenance to clients using the WordPress platform.

More WordPress news from WP Engine

How To Achieve Delicious Website Results Through SEO And UX Integration14 Awesome Things You Can Do With WordPress (Besides Blogging)

Comments

  1. Brandon Graves says

    June 7, 2017 at 1:36 am

    Fully satisfied with your points, it will not only improve your site performance, but also you will avoid the unnecessary purchase of WordPress themes that will cut the cost. Thanks for your great tips Nicholas.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Subscribe

    Subscribe to our blog to get great tips for your WordPress site.

  • Favorite Tweets by @wpengine
  • Sign In

    Solutions

    • Agency
    • Enterprise
    • SMB
    • Marketer
    • Developer

    Insights

    • Blog
    • Torque
    • Velocitize

    About

    • Our Company
    • Leadership Team
    • Our Platform
    • Careers
    • Affiliates
    • Contact
    • Legal
    • Newsroom
    • Privacy Policy

    Resources

    • Resource Center
    • Documentation
    • Solution Center
    • Find an Agency

    WP Engine

    504 Lavaca Street, Suite 1000
    Austin, TX 78701

    Sales

    +1-512-201-4819
    [email protected]
    7am–7pm CST

    Billing

    [email protected]

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Instagram
    • RSS
    © 2013—2026 WPEngine, Inc. All rights reserved.
    WP ENGINE®, VELOCITIZE®, TORQUE®, EVERCACHE®, and the cog logo service marks are owned by WPEngine, Inc.