WordPress.org

Ready to get started?Download WordPress

Forums

NewStone
using child theme nothing changes (18 posts)

  1. jcpcosta
    Member
    Posted 1 year ago #

    Hi Terry!

    I'm using NewStone theme with child theme activated and when I do changes to the style.css file nothing changes...any ideas?

    Thank you!

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Do you have caching on your site? Clear that. Have you cleared your browser cache?

    Otherwise, we'd need to see the site to troubleshoot further.

  3. jcpcosta
    Member
    Posted 1 year ago #

    I just cleaned the cache...and tried it on 2 other browsers...still the same!

    My site is: http://newsletter.mdsinsure.com/

    Supposedly I removed the background image...

    Thank you WPyogi!

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You don't have a child theme active on that site - did you actually activate it?

  5. jcpcosta
    Member
    Posted 1 year ago #

    Yes, I did activated!

    'Current Theme
    NewStone

    By JCPCOSTAVersion 1.2.2
    Child theme for the NewStone theme'

    But now i realized that there's some problem with parent template..????

    'Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name Description
    NewStone The parent theme is missing. Please install the "NewStone" parent theme.'

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Do you have this file structure:

    wp-content
       themes
           newstone
           newstonechild
               style.css (the new one you made)

    What is the code in your child theme style.css file?

  7. jcpcosta
    Member
    Posted 1 year ago #

    Hi yogi!

    Yes, that's my structure!

    And the code is:

    /*
    Theme Name: NewStone
    Theme URI: http://www.pcdiy.com/themes/newstone
    Description: Child theme for the NewStone theme
    Author: JCPCOSTA
    Author URI: http://example.com/about/
    Template: NewStone
    Version: 1.2.2
    */

    @import url("../newstone/style.css");

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    This looks wrong:

    Template: NewStone

    Try:

    Template: newstone
  9. jcpcosta
    Member
    Posted 1 year ago #

    I tried that before..nothing :/ I even confirmed in parent theme how it was written....

  10. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Did you create that style.css file using a plain text editor?

    Can you try switching to it again?

  11. jcpcosta
    Member
    Posted 1 year ago #

    Yes! I did it on WinSCP directly.

    What do u mean with switching it again? newstone to NewStone?

  12. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I mean activate the child theme.

  13. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Using an FTP program to create the file may not work. Try using a plain text editor on your local computer and then upload the file.

  14. jcpcosta
    Member
    Posted 1 year ago #

    I did both...none worked.

    I decided to change the name of the background image (I'm trying to remove background image)..and only by doing that I managed to make it disappear. However, probably I won't be able to do any changes...

  15. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    What happens when you activate the child theme (don't worry about the changes right now)?

    Start with a NEW file in a plain text editor like Notepad.

  16. jcpcosta
    Member
    Posted 1 year ago #

    That's what I just did!

    When I activate it's showed:

    "NewStone

    By JCPCOSTAVersion 1.2.2
    Child theme for the NewStone theme

    This child theme requires its parent theme, NewStone." --> how come?

  17. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Oh sorry, just noticed that it looks like you have the same name here as in the parent?

    Theme Name: NewStone

    That has to be different - i.e. NewStone Child Theme

  18. paulwpxp
    Font hero
    Posted 1 year ago #

    This child theme requires its parent theme, NewStone." --> how come?

    This message is normal.

    Child stylesheet is working.
    http://newsletter.mdsinsure.com/wp-content/themes/newstone-child/style.css

    But there is too much content in it. The copy over of parent's style is not necessary, the @import line already does that.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.