Support » Fixing WordPress » span class child theme reference not working

  • In my child theme I put:

    span.numberBoxGlobal
    {
    text-shadow: 0px 1px 1px #444;
    color:white;
    background:#FB8B14;
    padding:1px 12px;
    border-radius: 0px;
    border-bottom:1px solid #9f9f9f;
    }

    I referenced it in my post with:

    <span class = "numberBoxGlobal">1.</span>

    It didn’t work. My question is why not?
    When I defined the class within the post, it worked. I did it with this code:

    <head>
    <style type = "text/css">
    span.numberbox
    {
    text-shadow: 0px 1px 1px #444;
    color:white;
    background:#FB8B14;
    padding:1px 12px;
    border-radius: 0px;
    border-bottom:1px solid #9f9f9f;
    }
    </style>
    </head>
    
    <span class = "numberbox">1</span><br>

    If anyone could tell me what to do to get this to work I would appreciate it.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘span class child theme reference not working’ is closed to new replies.