phpgrid bootstrap css files overwrite with template bootstrap file

Questionsphpgrid bootstrap css files overwrite with template bootstrap file
shum asked 8 years ago

I am using codeigniter html template which have its own bootstrap files but when i m using twitter bootstrap 3 phpgrid theme it is overwrite with the template bootstrap css files, what should i do?

2 Answers
Abu Ghufran answered 8 years ago

Currently, following css are loaded in our demos/appearance/twitter-bootstrap3.php demo

<link rel="stylesheet" type="text/css" media="screen" href="../../lib/js/themes/<?php echo $themes[$i] ?>/jquery-ui.custom.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"&gt;

<!– bootstrap3 + jqgrid compatibility css –>
<link rel="stylesheet" type="text/css" media="screen" href="../../lib/js/jqgrid/css/ui.jqgrid.bs.css">

If you already have bootstrap.min.css included in template, you can skip the second and include only:

<link rel="stylesheet" type="text/css" media="screen" href="../../lib/js/themes/<?php echo $themes[$i] ?>/jquery-ui.custom.css">
<link rel="stylesheet" type="text/css" media="screen" href="../../lib/js/jqgrid/css/ui.jqgrid.bs.css">

Make sure you include 'ui.jqgrid.bs.css' after including 'bootstrap.min.css'

Let me know for further help. Screenshot + code would help. You can also email me at [email protected]

Shumaila Khan answered 8 years ago

The issue with style.css of theme file if i remove it than grid will work fine. Any solution?

Your Answer

12 + 1 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?