how insert original styling?

January 2013 WordPress Theme
GK User
Mon Dec 09, 2013 10:44 am
for example i have a table with blue color and some other color. when i insert the table to the editor system automatically changes colors. how i can preserve the original format (and colors)?
User avatar
Fresh Boarder

GK User
Mon Dec 09, 2013 11:09 am
Hi,

Could you provide an URL to your site with this table? or screenshot, because I'm not sure what exactly do you mean.
User avatar
Moderator

GK User
Mon Dec 09, 2013 11:41 am
here is the link how it looks like in website.
http://banker.az/%C9%99n-s%C9%99rf%C9%9 ... klif-edir/

but actually it should be like this (please see attachment )
User avatar
Fresh Boarder

GK User
Mon Dec 09, 2013 2:01 pm
Ok, now I understand, we have a predefined styles for tables because of the responsive looks of tables. If you don't want this style, you can remove this section from News/css/stuff.css file:
Code: Select all
/* 7.16. Tables
==================================== */

article section table {
   margin: 10px 0;
}

article section table th {
   background: #eee;
   padding: 0 4px;
   text-align: left;
}

article section table td {
   padding: 0 4px;
}

article section table tbody tr:nth-child(2n) {
   background: #f5f5f5;
}

article section table td span.gk-table-label {
   display: none;
}


But I think that even if you remove this code, your table won't looks exactly like your xlsx file.
User avatar
Moderator


cron