cancel
Showing results for 
Search instead for 
Did you mean: 

Display Notice

Highlighted

Display Notice

I am using `Codazon Fastest -Grocery Gourmet` Theme. 

How can I display a Static Notice in Home Page before Menu ?

4 REPLIES 4
Highlighted

Re: Display Notice

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 :

https://magento.stackexchange.com/questions/176977/how-to-add-custom-notices-to-page-top-in-magento-...

 

Hope it helps !

Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !
Highlighted

Re: Display Notice

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.

Highlighted

Re: Display Notice

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. 

Highlighted

Re: Display Notice

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.