• Resolved ninja_34

    (@ninja_34)


    Hi there, im not having a good job of setting up the CSS for your table, Im currently using the shortcode, could you give me an example of how i can target the CSS through the shortcode so i can give it some styling please.

    Just looking to do some simple stuff, like

    vertial align
    show table lines
    bold the first coloumn

    and thats it really, any help would be really appreciated. thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • madebyakhil

    (@madebyakhil)

    Hi!

    Do you have a demo link that we can see? Also, do you’ve access to the template files?

    Plugin Author Johann Heyne

    (@jonua)

    I’m sorry that I did not respond to this support request. But this does not directly affect the plugin, it’s more of a general question setting up a shortcode. I have updated the shortcode example according to your question.

    @madebyakhil
    In this forum we are not allowed to ask for an access to the code of others. The forum guidelines explains the reason. Thanks anyway for helping.

    Cheers,
    Johann

    Pablostevens71

    (@pablostevens71)

    Hey I tried your latest shortcode with the CSS table class in it and it doesn’t work. It just inserts “” for the class.

    The problem is here:
    $return .= '<table class="' . $table['table-class'] . '" border="0">';
    I changed it to:
    $return .= '<table class="' . $a['table-class'] . '" border="0">';

    and it works. I think you missed “table-class” in the array, but adding it there didn’t seem to work, but this does.

    Plugin Author Johann Heyne

    (@jonua)

    thanks a lot. Yes, my code was wrong, there is no ‘table-class’ in the fields data array but in the shortcode attributes. I fixed the shortcode example in the FAQ.

    Cheers,
    Johann

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