• 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

Infinity Pro theme stylesheet error in original code

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 › Archived Forums › Design Tips and Tricks › Infinity Pro theme stylesheet error in original code

This topic is: not resolved

Tagged: code issue, css code, Genesis Developer, Infinity Pro, stylesheet error, update theme stylesheet, warning notification

  • This topic has 6 replies, 3 voices, and was last updated 6 years, 4 months ago by immacc50.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 28, 2019 at 10:07 am #489765
    immacc50
    Participant

    I would like to add custom code to the stylesheet but am receiving an error notification on line 1993: (padding: 12px 20px;)

    The notification states: "There is 1 error which must be fixed before you can update this file."

    There is currently no break in my site, however, there is a check box with the warning: "Update anyway, even though it might break your site?"

    Please advise.

    .genesis-responsive-menu .genesis-nav-menu .menu-item a {
    border: none;
    margin-bottom: 1px;
    padding: 12px 20px;
    width: 100%;
    }

    https://clovisplumbingservices.com/
    February 28, 2019 at 12:33 pm #489766
    Victor Font
    Moderator

    There's no error on that line. The message is erroneous.

    It's a bad idea to use the WordPress editor to edit theme files. If you make a mistake, the WordPress editor is very unforgiving. Your site will go down and the only way you'll be able to fix things is through FTP.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 28, 2019 at 2:53 pm #489770
    immacc50
    Participant

    Thank you Victor... I appreciate your help. Also, thanks for the tip on editing.

    March 1, 2019 at 12:41 am #489774
    inmatesearch
    Member

    Even I am getting a similar error on line number 1002 after I edited the CSS


    CEO
    https://theinmatesearch.org/
    Inmate Search

    March 1, 2019 at 4:44 am #489776
    immacc50
    Participant

    Currently I have 15 warning signs (!) and 1 red x in my stylesheet. However, the site is not broken and displays well in Chrome, Firefox and IE.

    Unfortunately I am a little OCD and would like to understand why wordpress is indicating so many "erroneous" errors in the code?

    I did successfully modify the stylesheet via ftp to include a partial fix to background images in front page 1, 3 and 5 that were not resizing to fit mobile devices. (I'm using Samsung Galaxy S7).


    @media
    only screen and (max-width: 600px) {

    .front-page-1,
    .front-page-2,
    .front-page-3,
    .front-page-4,
    .front-page-5,
    .front-page-6,
    .front-page-7 {
    padding-bottom: 10px;
    padding-top: 60px;
    }

    .front-page .content h1 {
    font-size: 22px;
    font-size: 2.2rem;
    }

    .front-page .content h3 {
    font-size: 20px;
    font-size: 2.0rem;
    }

    .front-page .content h5 {
    font-size: 16px;
    font-size: 1.6rem;
    }

    }

    March 1, 2019 at 8:26 am #489778
    Victor Font
    Moderator

    The editor in WordPress is unforgiving. Click on the warning icon for an explanation.

    It flags spaces as errors and wants you to use tabs for spacing or vice versa. I don't remember which. These things don't matter. You'll only irritate yourself trying to chase them down.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 1, 2019 at 8:56 am #489779
    immacc50
    Participant

    Thank you Victor... yes, irritating to say the least.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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