In magento banner widget blog we will try to understand the on how to configure a widget. In this blog we are showing banner in page header using 2 quick and easy steps.
2 quick and easy steps:
Step 1: Create a static Banner Block.
Login to Magento admin, Go to CMS > Static Blocks and create a new Static Block.
By using the image toolbar icon of editor, upload your banner image. banner size will depends upon the layout of your website. so create accordingly. we will create a banner of 900 x 80 show that we insert in the Page Header.
Note that you will need to work out the width and height for you banner so it fits nicely within the specific layout position you will be inserting it into later. This will depend on your actual theme. In our case, we’ll create a banner that’s 900px wide and 80px high to be inserted in the Page Header area.
Step 2: Create a widget instance for our Static Banner and configure the Widget Instance.
presuming logged in to admin, Go to “CMS > Widgets” and add a new widget instance.
1. Type: cms static block
2. Design Package/Theme: Select your them if any custom theme used (We have tested on “default/default”). Please make sure you have opted correct theme as you can’t select this again once submitted. Now click on “continue” button. On next screen select front-end properties. In front-end properties there is one section called “Layout Updates” where in you can select add area where exactly you want to show static block like “Display On” like “page header”.
Next move is From left section select “widget Options” and select the newly created static block here, click on save button. You are done with creating a widget.