Jump to content

Archived

This topic is now archived and is closed to further replies.

quintinm

What is the best way to use tables in DMS2

Recommended Posts

quintinm

Hello.

 

I need to insert a table for a client with 2 to 3 columns and about 5-6 rows.

What is the best way to do this responsively?

Does DMS have a plugin / section to handle tables, is there a plugin i should use or should i just code them by hand?

 

Thank you.

 

 

 

 

Share this post


Link to post
Share on other sites
Danny

Hi,

 

You just use table HTML and it should resize depending on the browsers width or device width. However, if you want to have a table responsive as seen on Bootstrap 3.x you will want to copy their styles and implement them yourself.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
quintinm

Hi Danny.

I found the bootstrap code and it seems to work really well.

The issue i am dealing with the client on now is to try and reduce the number of columns.

No matter how responsive they are, too many columns just wont work :-)

 

Thanks for the assist.

 

Appreciate it as always.

Share this post


Link to post
Share on other sites
Danny

Not sure what you mean, the responsive table code in Bootstrap 3 allows the table to be scrolled horizontally so there should be no issue in how many columns you have. However, this code isn't present in DMS as we utilise Bootstrap 2.x. So like I mentioned you will need to copy the code they use and add it to your custom CSS.

 

An alternative would be to use a plugin, there is as far as I can remember a tables plugins for WordPress which has responsive tables.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
quintinm

Hi Danny - i see that now.

Where would i find the specific CSS for that.

Sorry, i realise you guys don't really provide support for CSS.

 

Thanks.

Share this post


Link to post
Share on other sites
Danny

You will want to either inspect a responsive table via the Bootstrap 3 website or download Bootstrap and view the stylesheets for the code.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
quintinm

Hi Danny"] or @[member="GetMeWebDesign, have you guys played with responsive tables using the bootstrap css?

I have no idea where to start with looking for the css to do it?

 

Should i download the css and search for the classes used in the tables?

Where do i put that - in the custom css for my site?

 

Thanks guys, would appreciate any input or advice.

 

thank you.

Share this post


Link to post
Share on other sites
Danny

You will need to review the code in Bootstrap 3.x and find the CSS related to responsive tables, then add it to your custom CSS. Unfortunately, this isn't something we can assist you with.

 

An alternative would be to use a plugin, if you're not comfortable doing the above.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
quintinm

Hi Danny.

 

I think i have manage to pull what i need from the CSS - it seems to be working as it should.

 

thank you.

Share this post


Link to post
Share on other sites
Danny

Awesome and no problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio+
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
    • flourishdesignstudio
      By flourishdesignstudio+
      Is there a way to edit the custom CSS via FTP? I know I can edit the custom code in the Chrome editor but is there a file path I can use to find and edit the CSS directly from our FTP?
      Thanks in advance for the help!
    • nizami
      By nizami+
      Using navbar section with correctly configured WP menu to display main navigation at https://elenaangel.com. 
      All fine in desktop viewport. Menu displays twice in hamburger mode. How to fix this please? 

×