⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

I am using bootstrap-v4 but still looks different



harshalone
  • profile picture
  • Member

Posted 13 July 2019 - 21:30 PM

Hi please have a look at my instance and your both using bootstrap 4 theme but it is still looking different 

 

Can you please tell me how I can make my instance look like yours

 

My instance 1-g.png

your instance 2-g.png same as: https://www.grocerycrud.com/enterprise/api-and-function-list/setRelation/

 

 

 


web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 15 July 2019 - 06:24 AM

Hi please have a look at my instance and your both using bootstrap 4 theme but it is still looking different 

 

Can you please tell me how I can make my instance look like yours

 

My instance 1-g.png

your instance 2-g.png same as: https://www.grocerycrud.com/enterprise/api-and-function-list/setRelation/

 

Hello @harshalone,

 

You should use the setSkin method. For the documentation you can find it here: https://www.grocerycrud.com/enterprise/api-and-function-list/set-skin/

More specifically you should add the below line:
 

$crud->setSkin('bootstrap-v4');

At the future I would also like to have this as a configuration as it is confusing lot of people! 

Let me know if that worked for you

 

Regards

Johnny