Table alignment in new theme

  • Author
  • #1143456


    I’d like to upgrade our blog to a new theme – maybe Minimum or something similar. We put our images in HTML tables to manage the alignment for Feedburner.

    In the live preview of many themes, our tables end up on their own rows rather than aligned properly with the text. Does anyone know how to fix that using CSS? I want to avoid purchasing a theme until I know it will work for us.

    Thanks for your help. I appreciate it.

    The blog I need help with is


    It depends on the CSS for the new theme you pick. What you would need to do is either switch themes, or view the preview and try to work through that or even look at the new theme’s CSS stylesheet directly, to find what CSS rules are causing the tables to look different and then add new CSS rules to adjust the look to what you want after the theme has been activated.

    I’m pretty certain you would be able to figure it out, it’s just a matter of figuring out the right CSS rules based on whatever theme you pick.


    I took a closer look at your question, and I found the following CSS when previewing with the Minimum theme.

    .entry-content table {
    	font-size: 14px;
    	margin: 0 0 20px 0;
    	text-align: left;
    	width: 100%;

    So in this case, the 100% width for the table is probably the main issue. To counter that using a CSS update on the Appearance → Custom Design → CSS editor, you could add a rule like this:

    .entry-content table {
    	width: auto;

    Please post back if you still need help switching themes. You might like the magazine filter in the theme showcase:



    This is fantastic – it solved the problem. Thank you so much for your help! I really appreciate it.

The topic ‘Table alignment in new theme’ is closed to new replies.