Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Table display in Technews 2.5.2.0 template

  • #8933
    Avatar photo[anonymous]

    Hello,

    I’m finding that HTML tables under the TechNews template v 2.5.2.0 seem to add a large extra column/spacing on the right. This results in the tables appearing “off centre” in the displayed page. The HTML code is fine and other templates display the tables exactly as expected. I do need to use the TechNews template so just changing template is not an option.

    Has anyone any suggestions as to cause and/or fix?

    Running Publii 0.41.1 under Linux Mint 21.

    Many thanks for any advice or help.

    #8934
    Avatar photoBob

    Any url?

    #8935
    Avatar photo[anonymous]

    Sorry!

    Please see, for example,

    https://eastangliakt.org.uk/kt-officers-2022-2023/

    The table should be centred on the page and is if I use a different template.

    #8936
    Avatar photoBob

    You should play with the table via CSS, e.g., add the following CSS rules via a Custom CSS tool:

    @media all and (min-width: 56.25em) {
       table {
          display: table;
          width: 100%;
       }
    }
    
    #8937
    Avatar photo[anonymous]

    Perfect!

    Thank you and thanks for such a speedy and complete reply.