Forums

Give help. Get help.

  • # September 12, 2018 at 6:48 am

    I’m using the League Table plugin on WordPress for a features table and the settings only allow you to place images to the left or right in a cell. I need to center the images in each cell, is there something I can change in the CSS to do this?

    I understand some basics of CSS but am not skilled. I tried changing the CSS from line 120 to adding

    display: block !important;
    margin-left: auto;
    margin-right: auto;

    # September 12, 2018 at 7:09 am

    Your Codepen has no HTML so it’s hard to offer any help.

    The CSS is of little use without that.

    In general though an image can be centered by adding text-align:center to the td

    I would say though that there is an awful lot of !important being used in the CSS and that’s not a good idea.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag