0

enter image description herehi, i am new to magento would some one please help me to set this in a right way

i just have change the background color of header and footer of my magento store in the base directory within the tag .page-header .panel.wrapper path:"https://cartify.shop/pub/static/version1486689053/frontend/Magento/luma/en_US/css/styles-l.css" it has been saved correctly and showing in the coding but the frontend didn't show any changes at my home page

asked Feb 10, 2017 at 17:26

1 Answer 1

3

The easiest way to add styling to a magento 2 store is to add your code here:

ADMIN> CONTENT> Design> CONFIGURATION

Click Edit for the appropriate view (global, website or store)

Open tab HTML Head, under Scripts and Style Sheets, you can add the following:

<style type="text/css">
@media (min-width: 768px), print {
 .page-header .panel.wrapper {
 background-color: #fff
 }
 .copyright {
 background-color: #f00
 }
}
</style>

Click Save Configuration

Clear Cache

answered Feb 10, 2017 at 17:53
4
  • please also give the method to change the background color of footer copyright area Commented Feb 10, 2017 at 17:58
  • Added the copyright as well. Commented Feb 10, 2017 at 18:02
  • its just vanished all the content in my site, displaying nothing Commented Feb 10, 2017 at 18:09
  • my mistake, sorry for that, All changes have done seamlessly, thanks a lot Commented Feb 10, 2017 at 18:12

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.