Git Product home page Git Product logo

Comments (3)

giansi avatar giansi commented on August 25, 2024

You must add a new twig template to your theme to handle your new footer or, better, add a new shortcode to handle it. If you choose the second option, please consider to add it to Gravstrap and share with others. :-)

from gravstrap-theme.

4evermaat avatar 4evermaat commented on August 25, 2024

could you give me an example of each? (twig template and custom shortcode)? I couldn't find the twig template for gravstrap footer that deals with rendering the footer. I see the common.md in the user/pages/common folder.

But the way you wrote your footer, you didn't allow someone to edit it (I cannot remove the breadcrumbs at the bottom. I don't know if this was intentional.

I thought about writing a module component that could be used as a footer. But if the shortcode method is easier, and I can just drop it into any page I need to.....I'll do it.

Sorry if I'm such a bother. I'm not really a programmer. I can understand some code, but i can work from template and when I know which parameters I can change, how they affect the page, etc. I would have worked with the existing footer if I could edit the forced navigation. See screenshot:
gravestrap footer edit footer navigation
where do I go to edit that? I do not see any obvious switch in the common.md file.

from gravstrap-theme.

4evermaat avatar 4evermaat commented on August 25, 2024

I see it now in the /plugins/gravstrap/templates/footer/footer_one.html.twig and /plugins/gravstrap/templates/modules/partials/footer_navigation.html.twig . Took me over 10 days to figure it out (I kept looking in the themes folder)!!! Water under the bridge.

I couldn't figure out what was rendering the footer and then I inspected the element very carefully in Chrome browser and it showed me the plugin that had the css. I found it.

from gravstrap-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.