• [ Moderator note: moved to Fixing WordPress. ]

    Hello, I am relatively new using CSS. I am trying to stylized a table in a page and I found that some of the CSS codes using customizer do not work. I don’t know if I am coding wrong. For example, padding does not work and text-align does not work. Here are the example codes. Do you know what I did wrong?
    th{
    border:3px solid green;
    padding:10px 10px;
    background:grey;
    color:white;
    text-transform:uppercase;
    height:4em;
    vertical-align:middle;
    }

    td{
    text-align:center;
    font-size:20px;
    font-variant:petite-caps;
    color:blue;
    }

    Also I would like to change the background color of this page and I don’t know how to do it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    Everything depends on your theme. Which are you using? We often cannot offer specific CSS solutions unless we have a live link to the page in question.

    Thread Starter mthant

    (@mthant)

    I am using para.llel.us Salutation theme. You are right, I tested the same codes with twenty-seventeen and they worked.
    Why do you think different themes affect them?
    thanks,
    Myo

    Different themes will have different rules in place to suit their theme, so it’s always helpful to learn how to use a web debugging tool like Firebug or Chrome Developer Tools. That’s why bcworkz asked for a link to your site. We can examine your site to see how to override any existing rule by making your rule more specific.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using CSS with Customizer’ is closed to new replies.