1
votes

I'm on a web project using bootstrap style, then I incorpored the grocery_CRUD framework and I started having problems with the css. It seems the grocery_CRUD has priority on the css files, when it renders a table, all style changes.

I want all web site has the bootstrap css and only the tables rendered with grocery_CRUD has its style.

Any solution?

2

2 Answers

1
votes

I think you are looking for the "bootstrap" theme at grocery CRUD. Just be aware that it is still in BETA phase. You can simply have a bootstrap theme like this:

$crud->set_theme('twitter-bootstrap');
1
votes

I answer my question: It's all about order of loading CSS... just didn't think about it, need to load first grocery_crud theme and then my css file. I had backwards overwriting my style