0
Welcome Guest! Login
0 items Join Now

Twitter Bootstrap Dependencies

  • Twitter Bootstrap Dependencies

    Posted 8 years 3 months ago
    • We have been using Gantry4 for several years and using a highly tweaked Gantry 4 base template for rapid development from design to working template. In Gantry 4 it became evident that the framework had its own bootstrap css and although called boostrap - it was not dependent on Twitter bootstrap in any way - and thus fairly easy for us to implement Twitter bootstrap 3 on the frontend of things.

      Currently trying to make the switch to Gantry5 and very surprised to see that Gantry 5 has quite the core dependency on Twitter bootstrap 2 - Since our programmers make heavy use of bootstrap 3 for layout of things, we were really hoping that Gantry5 didn’t have any BS 2 dependencies.

      A few screenshots below show the BS2 dependencies.

      www.screencast.com/t/xjtOuF2SqQMt
      www.screencast.com/t/TarhkFUna

      Now probably not too hard to overcome, has anyone dealt with integrating BS3 fully while using Gantry5? I'd would like to hear your experiences and possible solutions.

      P.S. I understand that officially Joomla still uses Bootstrap 2.x - I have a hard time wrapping my head around why Gantry 5 and its forward thinking model is not using Bootstrap 3.x - am I overlooking something and is there perhaps an "easy switch" for Gantry 5 to use bootstrap 3.x instead of 2.x ?
    • Best regards,

      Piet Nutbey

      Joomla Video Tutorials: www.joomtorial.com
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22283
    • Thanks: 3227
    • messin' with stuff

    Re: Twitter Bootstrap Dependencies

    Posted 8 years 3 months ago
    • We never used Bootstrap... Joomla has Bootstrap and some of their settings would conflict with gantry so in both G4 and G5 we have Joomla specific bootstrap files to handle those conflicts.

      We have our own Grid system and our own base styles and classes which we call Nucleus.

      Gantry 5 has an Engine concept built in. Don't want Nucleus as your base Engine? No problem, you can define other engines... please note however if you're not using Nucleus it may break how RT Templates behave.

      The engine is defined here: docs.gantry.org/gantry5/prime/basic-structure#streams

      We don't have much documentation around it... but you may be able to post on the G5 Github for support: github.com/gantry/gantry5

      The easiest way to load Bootstrap would be to create a CSS Atom pointed at the Bootstrap MaxCDN link

      docs.gantry.org/gantry5/configure/page-settings#atoms

      www.bootstrapcdn.com/
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:

Time to create page: 0.063 seconds