0

For my design i am using cms block as my hero banner, how to set full width?

3
  • using css ??????? Commented Dec 29, 2020 at 10:49
  • My cms block i gave full width, but in home page still right and left has space.
    – zus
    Commented Dec 29, 2020 at 10:57
  • my width 100%, still its not fit on my home page.
    – zus
    Commented Dec 29, 2020 at 11:00

1 Answer 1

1

Add this CSS like thi :-

.cms-home .page-main {
    max-width: 100%;
    padding: 0;
}
8
  • Where i can add? which file?
    – zus
    Commented Dec 29, 2020 at 11:06
  • in your block or an home page Commented Dec 29, 2020 at 11:08
  • you mean inline css right?
    – zus
    Commented Dec 29, 2020 at 11:08
  • yes.............. Commented Dec 29, 2020 at 11:10
  • can you pls help me with mobile menu magento.stackexchange.com/q/328503/57334
    – zus
    Commented Dec 29, 2020 at 11:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.