WordPress.org

Forums

How to child theme a theme with the Foundation framework (2 posts)

  1. Jonathan Wilson
    Member
    Posted 1 year ago #

    I have a theme that has a style.css file as well as a foundation framework directory (I'm assuming for the responsive styles) that has a foundation.css file. I need to change some of the styles in the foundation.css file. I want to do this with a child theme, but none of the changes are showing.

    Any ideas?

  2. sdavis2702
    Member
    Posted 1 year ago #

    If you're using a child theme to do this, you still need to work inside of your child theme's style.css file. There's no need to duplicate the foundation.css in your child theme.

    If the style rules in your child theme's style.css are not overwriting the foundation.css rules from the parent theme, it's most likely because you child theme CSS selectors aren't strong enough.

    And to be sure, test and make sure the child theme's style.css is set up correctly to begin with.

Topic Closed

This topic has been closed to new replies.

About this Topic