Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Hello,
I'm wondering if it is possible to use other grids systems just like BootStrap or Skeleton ?
Proposed resolution
I tried to disable all the CSS styles in the 'Toggle styles' tab but some core CSS files are always included.
Maybe we should give user the ability to disable core grid css files and let them add custom CSS by using the .info file.
Comments
Comment #1
dhalbert CreditAttribution: dhalbert commentedWould this guide be sufficient for what you have in mind?: Creating and Setting up a Custom Grid for Omega 3.x
Comment #2
Polwow that was fast ! :-)
That's already what I do, the problem is that the class names are different.
In Bootstrap, the classnames are: span1, span2, span3... etc etc, in alpha: grid-1, grid-2, grid-3...
I'm looking for a way to keep the css provided by Bootstrap unmodified.
Any idea ?
Comment #3
dhalbert CreditAttribution: dhalbert commentedUnfortunately, I don't think it will be easy. The grid class names are embedded in the Omega code. For instance,
omega/alpha/template.php
has'grid-'
and'container-'
,omega/alpha/includes/alpha.inc
has'container-'
, etc.When I made my own gutterless 16-column grid. I originally used one of the online grid generators, but it uses a slightly different naming scheme as well, and I ended up just copying and editing one of the alpha grids, using the generated grid as a guide.
Comment #4
marcoka CreditAttribution: marcoka commentedit is possible to use a custom grid and implement own css styles like bootstrap and so on. someone postet some sass omega here and i am working on a subtheme with sass/bootstrap styles too.
himerus answered another issue about "integration bootstrap". its not going to happen with all that extra bootstrap js stuff. maybe partially only styles or a subtheme.
so the request is disabling core styles that omega needs to work?
Comment #5
marcoka CreditAttribution: marcoka commentedComment #6
apaderno