I have this:
<section class="menu-items">
<header class="menu-group-header">
<h1 class="menu-group-title">TITLE</h1>
</header>
<article id="post-315" class="post-315 nova_menu_item type-nova_menu_item status-publish hentry nova_menu-asd123">
<header class="entry-header">
<h3 class="entry-title">asd</h3>
</header>
<div class="entry-content">
sth
</div>
<span class="menu-price">100</span>
</article>
</section>
I need to change font for the TITLE (h1 block). As I posted only partial HTML code, it is important that I use #post-315 as a reference in the CSS (I'm adding custom CSS in wordpress to override theme's original). Is there a reason for which code below is not working?
#post-315 ~ header > h1 {background: #5C5C5C;
font-size: 200%;
font-family: arial;}
It seems I cannot deploy it like here.