Align table text at top

Hi There

I have tried numerous ways to get the table of contents column on the left to align at the top but nothing I do seems to work. I can see from inspection that it is putting it in the middle however I have got a class that is putting at the top and using !important - does nothing.

Do you have any advice please. The link in private.

Thank you.

Kind regards

Hi Eileen,

You need to set the vertical alignment for <td>. You can add the style attribute to the <td style="vertical-align: top"> like shown in the following URL or you can add the below-given custom CSS code into the Customize > Element CSS of the Text where you have added the table content.

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_td_valign_css

.e1876-4 table td
{
    vertical-align: top;
}

Please remember that the above code will work if copied as it is and don’t conflict with any existing style.
Please note that the code provided serves only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.
We really do not provide support for custom codes that means we can’t fix it in case it conflicts with something on your site nor will we enhance it.

Thanks

Hi Tristup

Thank you so much for your very quick response. I could not get it to work at all putting it in the customize element css but the style incline worked a treat.

Thank you.

Hi Eileen,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.