• 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

My site calls out the incorrect version of CSS Stylesheet

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 › General Discussion › My site calls out the incorrect version of CSS Stylesheet

This topic is: not resolved
  • This topic has 4 replies, 2 voices, and was last updated 3 years, 9 months ago by Victor Font.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 27, 2020 at 7:35 am #496989
    koksalcanberk
    Participant

    And hence the changes I make in the style.css in Theme Editor doesn't seem to take effect (I use eleven40 Pro).

    The URL my site calls out:

    https://domain.com/wp-content/themes/eleven40-pro/style.css?ver=2.2.3

    The URL my changes are being reflected to:

    https://domain.com/wp-content/themes/eleven40-pro/style.css

    Does anybody know why does this happen and how can I fix it?

    It seems to me that I have two options:
    Get my site call out the base URL,
    Get my Theme Editor change ?ver=2.2.3 and not the base URL.

    Best,
    C

    February 27, 2020 at 7:45 am #496990
    Victor Font
    Moderator

    Your theme only has one style.css. There are not multiple versions. You site is loading the correct version.

    The wp_enqueue_style function that is used to load style sheets in WordPress automatically appends the child theme version number to the style sheet's base url.

    If you want to change the version number, you can edit this line in functions.php:

    define( 'CHILD_THEME_VERSION', '2.2.3' );


    Regards,

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

    February 27, 2020 at 8:48 am #496992
    koksalcanberk
    Participant

    Thank you - but it seems like it already takes place in my functions.php:

    // Child theme (do not remove).
    define( 'CHILD_THEME_NAME', __( 'eleven40 Pro', 'eleven40' ) );
    define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/eleven40/' );
    define( 'CHILD_THEME_VERSION', '2.2.3' );

    Regards,
    C

    February 27, 2020 at 11:43 am #496998
    koksalcanberk
    Participant

    I mean, I guess I have to find a way to edit 2.2.3'th version of style.css in my site.

    But where do I do that? I accessed to my FTP but the changes I make directly on style.css are still not taking effect in this URL:

    https://domain.com/wp-content/themes/eleven40-pro/style.css?ver=2.2.3

    February 27, 2020 at 12:05 pm #496999
    Victor Font
    Moderator

    You didn't understand my response. Change the version number where it's defined in the code. In other words, change

    define( 'CHILD_THEME_VERSION', '2.2.3' );

    to

    define( 'CHILD_THEME_VERSION', '2.2.4' );


    Regards,

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

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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

© 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