Hope you are having a good day! Could you please tell which template you are using so that we can clearly understand the issue and also please add this query to that template category if it is not an Astroid issue.
If you like our support and products, tweet us at joomdev and let the world know about it.
JoomDev is not affiliated with or endorsed by Open Source Matters or the Joomla! Project. The Joomla! logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.