Support » Plugin: TablePress - Tables in WordPress made easy » Alignment complete Table

  • Resolved mydreamin

    (@mydreamin)


    Hello everybody

    I have tried many things in the meantime, but I did not get the desired result.

    I want to right-justify the Table “Hours” on the right. This means that the entire table should be moved, not just the text in it.

    Both columns are left aligned with text, which should remain so

    I hope there is a solution for this?

    kind regards
    Marcel

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    For that, please try adding this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-4 {
    	width: auto;
    	float: right;
    }
    .tablepress-id-4 .column-1 {
    	padding-right: 20px !important;
    }

    Regards,
    Tobias

    Thread Starter mydreamin

    (@mydreamin)

    Hello tobias,

    thank you for the fast feedback. Is there a possibility to implement this alignment exclusively in the desktop version? The mobile view should be not affected by this.

    Unfortunately, I am reaching my limits in this regard. Maybe you can still help me here, even if it does not explicitly affect tablepress?

    kind regards
    Marcel

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Marcel,

    you could use a CSS3 Media Query here:

    @media screen and (min-width:768px) {
      .tablepress-id-4 {
    	width: auto;
    	float: right;
      }
      .tablepress-id-4 .column-1 {
    	padding-right: 20px !important;
      }
    }

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Alignment complete Table’ is closed to new replies.