Cant view top link in custom container magento2 năm 2024

There are situations when you want to add a promo block to the top of the page, for example, free shipping offer, discount for Black Friday or other holidays, and you need to display it on the page quickly.

This is easy to do with Magento 2 admin panel. First of all, we'd like to mention that adding and configuring HTML Block doesn't require any programming skills. Check out this short video in order to see how it actually works or follow the step-by-step instructions below.

In order to add HTML block at the top of the page please go to Admin Panel > Content > Blocks and press the Add New Block button.

ALL Magento 2 extensions. Use coupon code VALENTINE2019

After that go to Admin Panel > Content > Widgets and press the Add New Widget button.

Begin the configurations of the widget by setting its Type and Design Theme. Press the Continue button to move further.

Next set the Title of the widget. It could be the same as the name of the block you've created. Choose the Storefront the widget will be displayed on. Enter the Sort Order.

In the Layout Updates section, you have to choose the exact place you want your block to be displayed on. Select All Pages to display it on all pages and choose Page Top as the block container to position it at the top of the page.

Chủ Đề