I have a custom theme on Magento 2.1.7 installation, based on the Blank theme. I am trying to amend the header block to have a background image (behind the logo - though this is not important). I have read a couple of questions and answers and nothing seems to be working. I have amended my _theme.less file and tried two suggestions:
a)
.page-header {
background-image: url("../images/bog_headerimage.jpg");
}
b)
.page-header {
background-image: url('@{baseDir}images/bog_headerimage.png');
}
another suggestion was to add the background-image line in the Magento_Theme/css/source/_module.less file, i.e :
.page-header {
.lib-css(background-color, @header__background-color);
border-bottom: 1px solid @border-color__base;
margin-bottom: @indent__base;
background-image: url("../images/bog_headerimage.jpg");
}
After each change, I have flushed the cache, I have removed var/view_preprocessed and pub/static files but the image does not appear.
Am I missing some step or doing something wrong? Would be really grateful for any help with this.