• Resolved didelu

    (@didelu)


    Hello,

    First of all thank you for this amazing plugin!

    Even automatic periodic import is working perfectly but I have a slight problem with table styling. I am trying to bold some columns and it works correctly, but the columns lose the styling after next automatic import.

    I also tried to style the table before starting automatic import, but then it did not update data for some reason.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    That sounds strange and doesn’t really make sense. Table styling via CSS is independent from the data. What exact styling changes did you try and where did you do them?

    Regards,
    Tobias

    Thread Starter didelu

    (@didelu)

    I’m sorry if I used wrong terms. This is all pretty new stuff to me.

    I didn’t do CSS changes. I changed the font style to bold in some columns directly with “table manipulation” -> “advanced editor”.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for the clarification! That explains why this is happens. By adding the styling with that method, you are basically changing the content of the table (because this styling information is stored directly in the content). Then, wenn you auto-import again, the content gets overwritten again with the original one.

    To apply styling, you should really use CSS code. For some examples, please see https://tablepress.org/faq/

    For the font style, this would for example be

    .tablepress-id-123 .column-3 {
      font-weight: bold;
    }

    and similar.

    Regards,
    Tobias

    Thread Starter didelu

    (@didelu)

    Thanks, it worked like a charm!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Table styling gone after automatic import’ is closed to new replies.