How to create nice responsive tables

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun May 10, 2015 5:03 pm
Reply with quote
Report this post
Hello,
my website is www . casino-online . bz
I have css override enabled. I need to show some responsive tables into my k2 items. If I insert a table by k2 editor I get bad tables not responsive and not nice. I noticed that we have the magic GK Typography tool that do many cool things. I already used it for lists, quotes, ... but unfortunatly I need to create something like that:
gavick-table-joomla.jpg

Can you help me to find a way to create such tables?
User avatar
Expert Boarder

GK User
Sun May 10, 2015 7:45 pm
Reply with quote
Report this post
Hi,
in most cases you have to use responsive table plugin.
by default <table> are not responsive so it request much more work to make them tablet friendly, but about mobile you can forget anyway.
User avatar
Platinum Boarder

GK User
Sun May 10, 2015 8:40 pm
Reply with quote
Report this post
The "responsive table plugin" is a plugin I already have installed or do I have to install it from extension directory?
User avatar
Expert Boarder

GK User
Sun May 10, 2015 11:46 pm
Reply with quote
Report this post
J!ED , for example check "Responsive Tables" plugin, author: web-eau.net , link: http://www.web-eau.net/developpement/responsive-tables - it may help a little bit.
or
second option: redesign-recode table using <div> layout not <table> and you don't need any extra plugins.
But it's all depends on your skills.
User avatar
Platinum Boarder

GK User
Mon May 11, 2015 8:18 am
Reply with quote
Report this post
Thank yoiu Oscar for your great suggestion. Just for curiosity, do you have here an example of a nice table with div? In one of your demo template for example, or in your documentation,...
Just to have a look.
User avatar
Expert Boarder

GK User
Tue May 12, 2015 7:31 am
Reply with quote
Report this post
Currently I don't have. But I know that you still have access to Google search engine, right :whistle:
User avatar
Platinum Boarder

GK User
Tue May 12, 2015 10:15 pm
Reply with quote
Report this post
Hello Oscar,
I cannot use the plugin you suggested me cause it cuts the table on mobile devices.
Using google :D I found out that if I have Bootstrap I can get a responsive table only by adding one div tag over it.
I read that Joomla 3 has Bootstrap included by default, but here you say no:
https://www.gavick.com/forums/cloudhost ... trap-32177

Does News2 template with Joomla 3.4.1 use Bootstrap?
User avatar
Expert Boarder

GK User
Wed May 13, 2015 6:44 am
Reply with quote
Report this post
It wasn't me who said "no".
Becuase our templates uses default bootstrap v2 from Joomla 3 core,
check here: gk_news2\layouts\blocks\head.php

$doc->addStyleSheet($this->API->URLbase() . '/media/jui/css/bootstrap.min.css');
$doc->addStyleSheet($this->API->URLbase() . '/media/jui/css/bootstrap-responsive.min.css');
$doc->addStyleSheet($this->API->URLbase() . '/media/jui/css/bootstrap-extended.css');
User avatar
Platinum Boarder

GK User
Wed May 13, 2015 6:44 am
Reply with quote
Report this post
BTW
you can always install plugin which will load bootstrap v3 , I saw few solutions on J!ED
User avatar
Platinum Boarder


cron