• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

W3C Validator + CSS Validator

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › StudioPress Themes › Genesis Sample › W3C Validator + CSS Validator

This topic is: not resolved

Tagged: ::-webkit-input-placeholder is an unknown vendor extended pseudo-element, attribute not needed, css, css validator, deprecated, deprecated media features, html, media queries, media query, unknown vendor extension, validation, w3c, w3c validator

  • This topic has 1 reply, 1 voice, and was last updated 1 year, 11 months ago by RedBarn.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 18, 2021 at 12:04 pm #503763
    RedBarn
    Participant

    I discovered a number of warnings and errors via https://validator.w3.org/ which I insist on correcting for a 100% W3C Validated website (which I recommend for all websites).

    Example:

    HTML
    ////////////

    Warning: The type attribute for the style element is not needed and should be omitted. <style type="text/css">↩

    Error: CSS: Deprecated media feature min-device-width. For guidance, see the Deprecated Media Features section in the current Media Queries specification.
    At line 15, column 0

    Error: No space between attributes.
    At line 750, column 493
    n type="submit"class="wp-block"

    Warning: The type attribute is unnecessary for JavaScript resources.
    From line 956, column 9; to line 956, column 39
    >↩ <script type="text/javascript">↩

    CSS
    ////////////
    (from the Genesis-sample style.css)

    89 -webkit-text-size-adjust is an unknown vendor extension
    89 -webkit-appearance is an unknown vendor extension
    89 ::-moz-focus-inner is an unknown vendor extended pseudo-element
    89 ::-moz-focus-inner is an unknown vendor extended pseudo-element
    89 ::-moz-focus-inner is an unknown vendor extended pseudo-element
    89 ::-moz-focus-inner is an unknown vendor extended pseudo-element
    89 :-moz-focusring is an unknown vendor extended pseudo-class
    89 :-moz-focusring is an unknown vendor extended pseudo-class
    89 :-moz-focusring is an unknown vendor extended pseudo-class
    89 :-moz-focusring is an unknown vendor extended pseudo-class
    89 The value ButtonText is deprecated
    89 ::-webkit-inner-spin-button is an unknown vendor extended pseudo-element
    89 ::-webkit-outer-spin-button is an unknown vendor extended pseudo-element
    89 -webkit-appearance is an unknown vendor extension
    89 ::-webkit-search-decoration is an unknown vendor extended pseudo-element
    89 -webkit-appearance is an unknown vendor extension
    89 ::-webkit-file-upload-button is an unknown vendor extended pseudo-element
    89 -webkit-appearance is an unknown vendor extension
    153 -moz-osx-font-smoothing is an unknown vendor extension
    154 -webkit-font-smoothing is an unknown vendor extension
    404 ::-ms-input-placeholder is an unknown vendor extended pseudo-element
    409 :-ms-input-placeholder is an unknown vendor extended pseudo-class
    484 ::-webkit-search-cancel-button is an unknown vendor extended pseudo-element
    485 ::-webkit-search-results-button is an unknown vendor extended pseudo-element
    1476 -webkit-sticky is an unknown vendor extension

    What is the best way to correct these errors being the HTML I want to edit will update with a new Genesis update?

    I am afraid if (1) I make copies in my child theme folder to strictly use my version instead of the Studiopress version then I will miss important updates in the event there is an update and my website will use my version versus the Studiopress updated version or (2) I make the changes in the preexisting files then an update erases my changes and reintroduces the same errors/warnings.

    Perhaps this is a overall a request for future W3C validated HTML/CSS Studiopress.

    https://validator.w3.org/
    April 18, 2021 at 12:20 pm #503764
    RedBarn
    Participant

    I read this thread https://studiopress.community/topic/making-genesis-w3c-valid-remove-unnecessary-type-attribute-from-menu-javascript/

    This also fits into my "Perhaps this is a overall a request for future W3C validated HTML/CSS Studiopress." meaning the code from that thread could be prebuilt into future Studiopress.

    And my question also pertains the best treatment of the current files, not what code to use to fix my problems, of both HTML/CSS/PHP files.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble