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

    (@tobiasbg)

    Hi John,

    can you please post the URL to the page with the table that you are trying to style?
    Maybe I can spot something in the code that is causing an error.

    Regards,
    Tobias

    Thread Starter johnhenworth

    (@johnhenworth)

    https://indalobowlingclub.com/wp-admin/tools.php?page=wp-table-reloaded&action=edit&table_id=4.

    Hi Tobias . I have only just started using your plug in but I have to say it is great

    I am using Thesis I don’t know if that’s the problem.

    Would be great to use the styling. if you sort problem out I will certainly donate to your great plug in.

    Thanks john

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi John,

    thanks for the URL.
    As far as I can see, you are trying to change the font on the table.

    The reason for why this is not working is simple: You have not adjusted the table ID. You will just need to change the “-id-N” part to the corresponding ID of the table, in your case probably “-id-4” or “-id-5”, depending on which of your table you want to style.

    Regards,
    Tobias

    Thread Starter johnhenworth

    (@johnhenworth)

    Hi Tobias.

    I tried that and it still dont work.
    Must be doing something wrong , Sorry to keep bothering you.

    Does the code have to have td at the end of “id-4”

    Thanks John

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi John,

    no, the CSS code itself is working.
    It just seems that “comic sans” is not the correct CSS name of the font. Please try changing that to “Comic Sans Ms”.

    Regards,
    Tobias

    Thread Starter johnhenworth

    (@johnhenworth)

    Hello Tobias.

    Have tried and it dont work. also have tried increasing the font size with no success.
    could you look at the site and try it for me please and see what I am doing wrong.

    Thanks John

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi John,

    when I view the table at https://indalobowlingclub.com/league-table/ the font size has increased successfully.
    The font family hasn’t changed, as you pasted that into the wrong line, by accident. Just move “Comic Sans Ms” up one line before the semicolon.

    Regards,
    Tobias

    Thread Starter johnhenworth

    (@johnhenworth)

    Thanks Tobias.

    Your help was first class.

    What is a normal donation please

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi John,

    no problem, you are very welcome! Great to see that it works now!

    And thank you for wanting to donate, I really appreciate it! (I don’t really know the value of a “normal donation” though, everything is fine ?? )

    Best wishes,
    Tobias

    Thread Starter johnhenworth

    (@johnhenworth)

    Hello Tobias.

    I cannot afford a lot but think you do a great job for free.

    I have donated.

    Thanks for all your help.

    John

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi John,

    I received your donation ?? Thanks you very much, that’s really very nice!

    Best wishes,
    Tobias

    Thread Starter johnhenworth

    (@johnhenworth)

    Hi Tobias.

    I have centered the text in all of the boxes with the exception of the top bar . is it possible to do this please. and what does the td stand for in the code.

    if I add to this code do I have do it inside the }
    The code I have used is

    .wp-table-reloaded td {
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 12px;
    color: #000000;
    text-align:center;
    }

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, that’s exactly how you extend the CSS code. The property and desired value go between the { and }.
    About the “td”: That the identifier for a table cell in the table body, i.e. a cell not in the header row. Header row cells are instead identified by “th”. Thus, to center the text in the header row (or top bar as you name them), you would use

    .wp-table-reloaded th {
      text-align:center;
    }

    Regards,
    Tobias

    Thread Starter johnhenworth

    (@johnhenworth)

    Hi Tobias.Is there a way of centering the headline over the table. it is always on the left at the moment.
    Thanks John

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi John,

    are you sure that you want this? I’d leave it on the left…

    But of course it can be centered easily (and even though this headline is not added by WP-Table Reloaded, you can enter the necessary CSS code into the “Custom CSS” textarea):

    .headline {
      text-align: center;
    }

    Regards,
    Tobias

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: WP-Table Reloaded] CSS Code in Plugin option box dont work.’ is closed to new replies.