Unable to merge cells in table
-
At the bottom is a table. I want to add a third column and then re-merge the top row of cells.
I can add a third column.
I can split the current top cell.
I can select using CTRL the the three cells.
But the Merge Cells option is always greyed out.The page I need help with: [log in to see the link]
-
I also need to work out how to make my table wider so I have three columns same width
Hi @ajtruckle,
when an option is greyed out is because can’t be applied in that particular scenario.Is possible to have the HTML from code editor with guidelines to reproduce the scenario?
Here you are:
<!-- wp:advgb/columns {"columns":3,"columnsLayout":"15-35-15","colId":"advgb-cols-6b1fd0b3-d254-4d27-bc5f-776ab14ef587","changed":true} --> <div class="wp-block-advgb-columns advgb-columns-wrapper" id="advgb-cols-6b1fd0b3-d254-4d27-bc5f-776ab14ef587"><div class="advgb-columns-container"><div class="advgb-columns advgb-columns-row advgb-is-mobile advgb-columns-3 layout-15-35-15 mbl-layout-stacked vgutter-10"><!-- wp:advgb/column {"width":0,"columnClasses":"advgb-is-one-fifth-tablet advgb-is-full-mobile","colId":"advgb-col-9a126062-236f-45fc-9ba6-6bb5977b5d49","changed":true} --> <div class="wp-block-advgb-column advgb-column advgb-is-one-fifth-tablet advgb-is-full-mobile" id="advgb-col-9a126062-236f-45fc-9ba6-6bb5977b5d49"><div class="advgb-column-inner" style="border-style:none;border-width:1px"><!-- wp:paragraph --> <p></p> <!-- /wp:paragraph --></div></div> <!-- /wp:advgb/column --> <!-- wp:advgb/column {"width":0,"columnClasses":"advgb-is-three-fifths-tablet advgb-is-full-mobile","colId":"advgb-col-b41bc3bc-d6e2-4634-876d-8a6240e8cf4b","changed":true} --> <div class="wp-block-advgb-column advgb-column advgb-is-three-fifths-tablet advgb-is-full-mobile" id="advgb-col-b41bc3bc-d6e2-4634-876d-8a6240e8cf4b"><div class="advgb-column-inner" style="border-style:none;border-width:1px"><!-- wp:advgb/table {"tableCollapsed":true,"changed":true,"align":"center","className":"is-style-default"} --> <table class="wp-block-advgb-table aligncenter advgb-table-frontend is-style-default" style="border-collapse:collapse"><tbody><tr><td style="border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;border-width:1px;background-color:#666664;color:#eee" colspan="2"> Download a 30 day trial version of CADPower now and give it a try! Version: 22.21</td><td style="border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000"></td></tr><tr><td style="border-width:1px;border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center;vertical-align:middle;padding-left:10px;padding-right:10px"><img class="wp-image-557" style="width: 150px;" src="https://www.trucklesoft.co.uk/wp-content/uploads/2019/10/autocad-logo.png" alt="AutoCAD Logo"></td><td style="border-width:1px;border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center;vertical-align:middle"><img class="wp-image-287" style="width: 150px;" src="https://www.trucklesoft.co.uk/wp-content/uploads/2019/04/bricscad-trademark.png" alt="BricsCAD Trademark"></td><td style="border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center;vertical-align:middle"><img class="wp-image-974" style="width: 150px;" src="https://www.trucklesoft.co.uk/wp-content/uploads/2021/09/ZWCAD-CMYK.png" alt="ZWCAD Logo"></td></tr><tr><td style="border-width:1px;border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center"><a href="https://www.thedesignsense.com/cadpower/cadpower_en.exe">English</a></td><td style="border-width:1px;border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center"><a href="https://www.thedesignsense.com/cadpower/cadpower_bricscad_en.exe">English</a></td><td style="border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;vertical-align:middle;text-align:center"><a href="https://www.thedesignsense.com/cadpower/cadpower_en_zc.exe">English</a></td></tr><tr><td style="border-width:1px;border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center"><a href="https://www.thedesignsense.com/cadpower/cadpower_de.exe">German</a></td><td style="border-width:1px;border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center"><a href="https://www.thedesignsense.com/cadpower/cadpower_bricscad_de.exe">German</a></td><td style="border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000"></td></tr><tr><td style="border-width:1px;border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center"><a href="https://www.thedesignsense.com/cadpower/cadpower_ptb.exe">Portuguese Brazil</a></td><td style="border-width:1px;border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center"><a href="https://www.thedesignsense.com/cadpower/cadpower_bricscad_ptb.exe">Portuguese Brazil</a></td><td style="border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000"></td></tr><tr><td style="border-width:1px;border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center"><a href="https://www.thedesignsense.com/cadpower/cadpower_es.exe">Spanish</a></td><td style="border-width:1px;border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000;text-align:center"><a href="https://www.thedesignsense.com/cadpower/cadpower_bricscad_es.exe">Spanish</a></td><td style="border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000"></td></tr></tbody></table> <!-- /wp:advgb/table --></div></div> <!-- /wp:advgb/column --> <!-- wp:advgb/column {"width":0,"columnClasses":"advgb-is-one-fifth-tablet advgb-is-full-mobile","colId":"advgb-col-4f64d1af-2a39-4a0b-b05c-6a129fb7f254","changed":true} --> <div class="wp-block-advgb-column advgb-column advgb-is-one-fifth-tablet advgb-is-full-mobile" id="advgb-col-4f64d1af-2a39-4a0b-b05c-6a129fb7f254"><div class="advgb-column-inner" style="border-style:none;border-width:1px"></div></div> <!-- /wp:advgb/column --></div></div></div> <!-- /wp:advgb/columns -->
I added the code but it has been held for moderation.
In case doesn’t pass moderation, mainly due the size, you can try to share the code through a free sharing service (e.g. Github Gist) and link to that content in your reply.
Try this:
I worked it out. If I set the background colour of the cell to the right to the same value as the cell on the left, then it lets me merge them.
I’m glad you figure out a solution, @ajtruckle !
Regards
- The topic ‘Unable to merge cells in table’ is closed to new replies.