Closed DevelopingUK closed 3 years ago
Welcome @DevelopingUK! Component shadowing is the way to go here. Starting from the root
directory of a gatsby-starter-try-ghost
clone, the folder structure must be as follows:
src/gatsby-theme-try-ghost/
└── components
└── common
└── Footer.js
Note that there is no src
before components
, that's what most people find confusing. You can then modify Footer.js as you like to.
Thank you, that's exactly my problem here; I fixed it by following your instructions.
I want to remove and replace the Jamify link in the footer, however, it's not disappearing after numerous failed attempts.
I have shadowed the footer by copying the 'export footer for shadowing' fix and copied index, layout and footer files into my project.
Once inside my src/components/common/ folder, I attempted to change the links inside the Footer.js file and multiple attempts have been unsuccessful.
Is it hardcoded in somewhere?
I have reverted the attempts to shadow the footer and removed index, layout and footer files while I try and work this one out.
repo: lf-new
Am I missing something really obvious here?