Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1398741

    Hi,
    I could not find the solution in the documentation or forum.

    I use table layout, standard rows and columns with text
    I do have more lines of text per cell and want the text in each cell centered in the middle and not start on top of the cells

    How to make the text in each cell centered in the middle (seen from top to bottom and from left to right)

    Note: on this page the link to the youtube tutorial (on the bottom of the page this is mentioned) is not working. the tutorial is set to private:https://kriesi.at/documentation/enfold/table/

    • This topic was modified 1 year, 9 months ago by JannyPolak.
    #1398789

    Hi JannyPolak,

    Can you give us a link to you page with the table? so we can inspect it.
    You can post the link in private content, if you don’t want to show the link in public.

    Best regards,
    Nikko

    #1398802

    Hi,
    An examples is the table on top of this page: https://www.rietreiger.nl/prijzen-en-boeken/
    See columns 2 and 3. I would like to center the texts in the cells

    #1398859

    Hi JannyPolak,

    Please try to add this CSS code in Enfold > General Styling > Quick CSS:

    .avia-table tr th:first-child, 
    .avia-table tr td:first-child {
        text-align: center;
    }

    Best regards,
    Nikko

    #1398977

    Hi Nikko

    It doesn’t change the layout unfortunately
    even after cleaning cache

    any other suggestion?

    rgds, Janny

    #1399049

    Hi,
    Thanks for the link to your page, when I check the cell items are horizontally centered:
    Enfold_Support_442.jpeg
    so i assume that you wanted them also vertically centered, if so please add this css:

    #main .avia-table td {
    vertical-align: middle;
    }

    This is the expected results:
    Enfold_Support_444.jpeg
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1399050

    Many thanks, it works fine!

    #1399067

    Hi JannyPolak,

    I’m glad that Mike could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Table text centered in each cell’ is closed to new replies.