How to design a table based on css values set from admin/dashboard
I have created a table at
Single Product Page via
I want to change the
bg-color etc.. according to the values that the admin will set/enter from
I have done the following so far.
From the following
form (attached image), the admin will choose the
css values for
header etc.And after hitting the
save button, all those
css values will be saved inin
key value pair.
'table_background_color' => '#ff5'
What I want
I don’t want to get the
wp_option and then apply that
css design value for particular element of the
table, because I have huge form containing a lot of
design values and applying css inline is kind of messy.
I’m looking for some nice approach to apply those
(which I have saved in wp_options) to the table.
How can I apply those saved
css values from a separate file ?
Any help/recommendation will be highly appreciated, thanks.