Hello,
how can I position an accordion element to the bottom of a table div?
I have 1/3 table with a text icon-box and an accordion table. I always want to place the accordion at the bottom.
I tried the following code for the accordion table:
{
margin-bottom: 0px;
position: absolute;
}
That endet up in the following styling issue (right table):
It would be great to get some ideas :)
Thanks, Enrico
Hey enricobaumgart,
Please try this instead:
{
position: absolute;
bottom:0;
}
Best regards,
Rikard
Hello Rikard,
Thanks, but this is actually the same code as I already tried.
The problem is the “absolut” value for position. Any other idea?
Regards, Enrico
Hi,
Thanks for the update, I tried checking the page but it looks like it’s password protected?
Best regards,
Rikard
Please check the privat content for the pw.
Thanks :)
Hi,
Thanks for that. Please try this CSS:
.page-id-1352 .togglecontainer {
position: absolute;
width: 90%;
bottom: 0;
}
Best regards,
Rikard
Hello Rikard,
Thanks for this idea, but this code ends up with the following picture:
The content will then be covered by the accordion, which is not the way it should be. Sure, I could now add a whitespace or something, but this seems to be not a good way to achieve a bottom alignment.
Best regards
Enrico
Hi Enrico,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
#av_section_4 .iconbox {
margin-bottom: 110px;
}
If you need further assistance please let us know.
Best regards,
Victoria