Home>Support>I need have colorised table on frontpage but I don´t know override css inheritance

I need have colorised table on frontpage but I don´t know override css inheritance

By yardstudio, 9 years ago. Last reply by Magus, 9 years ago.

Hi,

I need have on frontpage http://bryndzove-halusky.sk/ colorised table with some highlighted text:

example:
http://www.yardstudio.eu/printscreens/2015-06-14_11_09_51.png

I was inserted for this a table with id, but I don´t know how can I override css inheritance. My changes in css make nothing

<table id="table-prihlasky">
<tbody>
<tr>
<td style="text-align: center;"><strong>Prihlášky na podujatie:</strong> <a href="http://bryndzove-halusky.sk/pravidla/prihlaska-druzstva/">prihlášky do súťaže družstiev</a> a <a href="http://bryndzove-halusky.sk/pravidla/prihlaska-jednotlivci/">prihlášky do súťaže jednotlivcov</a></td>
</tr>
</tbody>
</table>

How can I declare css table definitions in custom.css for possibility change table frame border colors, border thickness or other table parameters?

URL: http://bryndzove-halusky.sk/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 3 months ago Magus
    Hi, I Work Here

    Hi Yardstudio

    You can declare the table definitions like this

    /*For the whole Table*/
    #table-prihlasky {
        border-style: solid;
        border-width: 1px;
        border-color: #aeccea;
        background-color: red;
    }
    
    /* For the table Rows*/
    #table-prihlasky tr {
        border-style: dashed;
        border-width: 1px;
        border-color: #000;
    }
    /*For the table column*/
    #table-prihlasky tr td {
        border-style: solid;
    }
    

    Let us know how you get on

    Magus

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More