• Resolved dan002

    (@dan002)


    Hello,

    I modified the line of an array in the css option:

    .tablepress-id-16 .row-1 td {
    background-color: #ee3923;
    color: #000000;
    text-align: center;
    }

    How can I put the shortcode in the additional CSS class?
    I don’t know what to write, I’m just starting out

    Regards,
    dan002

    • This topic was modified 4 years, 4 months ago by dan002.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not sure that I understand. Putting a Shortcode into an additional CSS class doesn’t make sense.
    What are your trying to achieve here?

    Regards,
    Tobias

    Thread Starter dan002

    (@dan002)

    Hello,

    It’s ok, the class is recognized.

    I forgot to delete a modification of the code that I had inserted directly on the home page:

    .tablepress tbody tr: first-child td {
    border-top: 1px solid #ddd;
    background: #fffdfd;
    }

    I thought I could add the modified CSS code directly into the table. Is it possible to do this?

    .tablepress-id-16 .row-1 td {
    background-color: #ee3923;
    color: #000000;
    text-align: center;
    }

    https://prnt.sc/tjffwj

    Regards,
    dan002

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    that field is for extra CSS classes, which you are not using in your CSS, as far as I can see.
    You should put this CSS code in to the “Custom CSS” text field on the “Plugin Options” screen.

    Regards,
    Tobias

    Thread Starter dan002

    (@dan002)

    Hello,

    Okay !

    If I want to put this modified code in the extra CSS classes and not in the CSS options. What code applies in the extra CSS classes?

    Regards,
    dan002

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    you can not put it into the “Extra CSS classes”. That field is used for other purposes, see for example https://www.ads-software.com/support/topic/interval-of-tables/

    Regards,
    Tobias

    Thread Starter dan002

    (@dan002)

    Hello,

    Thank you for the explanations

    Regards,
    dan002

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure, no problem!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Additional CSS classes’ is closed to new replies.