Hello,
I’d like to add custom CSS class to a specific site title. I’ve use such code within block in gutenberg (because you can’t add such class under advanced options like in other blocks): <div class="custom-class">SITE TITLE</div>
But I’m not sure whether I should use div, article, span or other? What would be the best choice
(granted that it matters)?
Thanks,
About that firs CSS. I said it works, because I saw how it should work elsewhere, in some tutorial.
But I’ve tried it and can’t make it work. I’ve tried with .postid-xx .page-id-xx
and many other combinations. Page / post ID is fine, I’ve checked in wordpress editor and in chrome inspect tool.
.postid-2656 body {
background-color: #FFFFFF !important;
}