How to insert

  • Vaibhav

    #6852

    Hi

    I have created a wordpress page layout using css tables. When i insert the code in my wordpress page editor, it works fine but when i insert it in my child theme’s style.css it doesn’t work. Following is the code –

    .table
    {
    border: 0px;
    }
    .table ul
    {
    float: left;
    margin :0;
    padding :0;
    }
    .table ul li
    {
    list-style: none;
    padding: 5px 10px;
    }
    .table ul li.title
    {
    font-size: 25px;
    font-family: Times New Roman;
    font-weight: bold;
    }
    .table ul li.odd
    {
    font-family: Times New Roman;
    font-size: 25px;
    width: 105px;
    }
    .table ul li.even
    {
    font-family: Times New Roman;
    font-size: 25px;
    width: 5px;
    }

    Regards

    Vaibhav

    Prasanna SP

    #35851

    table is a non classed HTML element. Remove the . before table from your css.

    If it doesn’t work, add !important to override any other style declarations.

    Example,

    table {
    border: 0px !important;
    }
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.