I am using `Codazon Fastest -Grocery Gourmet` Theme.
How can I display a Static Notice in Home Page before Menu ?
Hello @foysal
I guess you are looking for a notice on top of header, please check the below answer if this is what you want to do :
Hope it helps !
Hello @foysal ,
create a static block from admin and enter your notice or message.
Then you need to call this static block in notices.phtml file to show your discount notice at top of the site,
Override notices.phtml in your theme.
at
app/design/frontend/Vendor/theme/Magento_Theme/templates/html/notices.phtml
call static block like this
?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('block_identifier')->toHtml();?>
Thank You.
Thanks @gaurav_harsh1 . In another Web Store I have same notice. How can I remove that notice ? I searched in pages, blocks and widgets. But I didn't find any thing. Thanks.
Thanks @smita_kagwade . In another Web Store I have same notice. How can I remove that notice ? I searched in pages, blocks and widgets. But I didn't find any thing. Thanks.