I have a demo installation of J 3.10.9 with protostar template (https://joomla4.extrowebsite.com/). The menu item "Home" -> blog category - has N articles. The article "Welcome to your blog" - the first - I would like to be given a different formatting than the others. "Welcome to your blog" has id = 3. I wrote this declaration in the head of the "index.php" template:
<?php $article_id = 3; ?>
<?php if($this->countModules('ModuleName') && $view == 'article' && $article_id == 3) : ?>
<jdoc:include type="modules" name="ModuleName" style="none" />
<?php endif; ?>
With the code I posted, I see the formatting BUT it is also given to all the others, belonging to the Blog category. In the module "ModuleName" I have inserted css code. What did I do wrong with my statement? Thanks to those who want to help me.