Cannot make page-bottom width 100%

by Yusuf Ibrahim   Last Updated May 16, 2019 02:09 AM

Dear Magento developer.

I am trying to set width of page-buttom to be 100% but unfortunately I am still unable to make it 100%.

enter image description here

what I really want to have is:

enter image description here

Here is my default.xml

<referenceContainer name="page.bottom.container">
    <block class="Senheng\Def\Block\Html\Subscribe"
        name="senheng.page.buttom"
        template="Senheng_Default::html/subscribe.phtml"/>
</referenceContainer>

My subscribe.phtml

<div style="width:100%; padding:15px;">

    <img src="<?php echo $block->getViewFileUrl('images/send.png');?>" style="float:left" />

    <p>Be the first to find about exclusive offers & get 10% off your first purchase</p>

</div>

enter image description here

What can I do to make that element width (page-bottom) become 100%.

Any help would be appreciated.



Related Questions


Updated April 29, 2019 04:09 AM

Updated May 26, 2018 17:09 PM

Updated April 04, 2019 11:09 AM

Updated May 27, 2018 16:09 PM

Updated June 08, 2017 03:09 AM