Css does not apply to div

0

I am making a theme for tumblr, and I have defined a div called "info" to organize posting times and number of notes in the post. But when I save the changes and I'm going to visualize, nothing changes. When opening the preview element, I realized that it is as if the div did not exist, and the css is not displayed (image). Being that, always before I stylize the divs, I put a background to locate me and then I make the changes.

CSS:

.info{background: #000;}

HTML:

<div class="info">
    <a href="{Permalink}" title="{ShortMonth} {DayOfMonth}{DayOfMonthSuffix} {Year}">
        {TimeAgo}
    </a>

    {block:NoteCount}
        <a href="{Permalink}#notes">
            {NoteCountWithLabel}
        </a>
    {/block:NoteCount}
</div>

    
asked by anonymous 16.12.2018 / 19:23

1 answer

1

Well, after breaking my head a little, I was able to solve this problem. I decided to add a class by itself to inspect element, and I set the css the way I like it. After that, I went into the Tumblr code editor, removed the class I had placed and pasted the one I created into the inspect. The code worked fine and I'm now editing without problems.

    
16.12.2018 / 19:39