• Hi,

    I want to insert a table in an entry. I have the tinyMCE advanced editor. I don’t know if there is a default style for tables in Hiero. I wonder if I can add some css style using a stylesheet and how.

    If someone could help me I’ll be grateful.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Here is the table style rules in the style.css file.

    /* Tables */
    table {
    	width: 100%;
    	margin-bottom: 20px;
    	}
    table th,
    table td {
    	padding: 8px;
    	line-height: 20px;
    	text-align: left;
    	vertical-align: top;
    	border-top: 1px solid #ddd;
    	}
    table th {
    	font-weight: bold;
    	}
    table thead th {
    	vertical-align: bottom;
    	}
    table caption + thead tr:first-child th,
    table caption + thead tr:first-child td,
    table colgroup + thead tr:first-child th,
    table colgroup + thead tr:first-child td,
    table thead:first-child tr:first-child th,
    table thead:first-child tr:first-child td {
    	border-top: 0;
    	}
    table tbody + tbody {
    	border-top: 2px solid #ddd;
    	}

    You can overwrite this in a custom CSS code editor of Simple Custom CSS plugin.

    I hope this reply helps.

    Thread Starter famaca

    (@famaca)

    Thank you for your answer. It has helped me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tables’ is closed to new replies.