Custom CSS: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 291: Line 291:
<code>.mobiledashaddbooking{display:none;}</code>
<code>.mobiledashaddbooking{display:none;}</code>


==Hide  column on the dashboard tables==
Change the child number in brackets to the desired column.
<code>.dashboardtable th:nth-child(9) {display:none;}</code>
</code>.dashboardtable td:nth-child(9) {display:none;}</code>
===Align the content of a column right===
<code>  .bookingtable  td:nth-child(8) {text-align: right;} </code>


== Guests Menu ==
== Guests Menu ==
Line 314: Line 323:
<code>.pagetypebookingslist .bookingtable tr > *:nth-child(10) {display: none;}</code>  will hide the tenth column which is 'Email'.
<code>.pagetypebookingslist .bookingtable tr > *:nth-child(10) {display: none;}</code>  will hide the tenth column which is 'Email'.


=== Hide cancelled bookings in the BOOKING Table ===
===Hide  column on the BOOKINGS table===
Change the child number in brackets to the desired column.
 
<code> .bookingtable  th:nth-child(12) {display:none;} </code>
 
<code> .bookingtable  td:nth-child(12) {display:none;} </code>
 
=== Hide cancelled bookings in the BOOKINGS Table ===
<code>.bookingtable .cancelbooking {display:none;}</code>
<code>.bookingtable .cancelbooking {display:none;}</code>


Line 321: Line 337:


== Rates Menu ==
== Rates Menu ==
=== Hide a certain column in the RATES Table ===
===Hide column on the rates table===
<code>.pagetyperates .bookingtable tr> *:nth-child(X) {display: none;}</code>
Change the child number in brackets to the desired column.
 
<code> .ratetable th:nth-child(9) {display:none;} </code>
 
<code> .ratetable td:nth-child(9) {display:none;} </code>  
 


== Reports Menu ==
== Reports Menu ==