Table inside an Accordion

I'm using the element Accordion of the Muffin Builder: inside a tab of the Accordion I put a table:

image

I would like to have the table expanded as the same size of the box of the accordion, like this:

image

Is it possible?

Comments

  • Hi,
    Please always attach a link so we can check it out. If the page is offline(localhost) then our help will be limited, you will have to contact us when the page is online. Also please make sure that the page is not under maintenance before you provide us the link.
    It is always a good idea to also attach a screenshot, for that use services like snag.gy or pasteboard.co
    thanks
  • edited June 2020
    Here you can find the accordion (the only one in the page). The screenshot is in my previous post.
    To replicate it just add the following table into an accordion:

    <table>
      <tr>
        <th>Firstname</th>
        <th>Lastname</th>
      </tr>
      <tr>
        <td>Jill</td>
        <td>Smith</td>
      </tr>
      <tr>
        <td>Eve</td>
        <td>Jackson</td>
      </tr>
    </table>
  • edited June 2020
    Please paste that CSS code into the Theme Options > Custom CSS & JS > CSS
    .accordion_wrapper .answer, .accordion_wrapper .answer table {
    padding:0 !important;
    margin:0 !important;
    }
    Thanks
  • Thanks, it partially works, there's still a space below the table.
  • I updated the code above, it will work fine now.
    Thanks
  • It works, thank you!
Sign In or Register to comment.