Change width of table & center it – working on some and not on others
-
Hi there,
Love the work with the plug in.
So what I am trying to do is change the width of the tables and center them, whilst staying responsive for mobiles. I found this thread:
https://www.ads-software.com/support/topic/center-and-resize-table/And used the advice in that thread. I added the following to the page:
<div id=ipa> [table id=3 /]</div>
And then added the following to the custom CSS:
div#ipa { max-width: 550px; margin-left: auto; margin-right: auto; }
And it worked, so I was very happy. It looks how I want it to on the page on desktop and on mobile. You can find the page here – https://brewconductor.com/styles/india-pale-ale-ipa/
However, when I tried to replicate my success on another page, it looks correct on desktop, but on mobile it is not responsive.
The on page code for the second page is as follows:<div id=porter> [table id=4 /]</div>
And I added this to the custom CSS:
`div#porter {
max-width: 550px;
margin-left: auto;
margin-right: auto;
}’I first tried with the first IPA div, but it had the same effect as with a new, second div tag.
The second page which is not responsive on mobile can be found here – https://brewconductor.com/styles/porters-and-stouts/Would very much appreciate any help.
Kind regards,
- The topic ‘Change width of table & center it – working on some and not on others’ is closed to new replies.