I’m curious if there is a way to modify the code (I’ve searched and haven’t had any luck finding a solution) to use an image or a banner image in place of the header in the Venture theme? Attached is the banner image I’m looking to replace the header with.
Currently I only have a “Logo” option but would like to replace the whole header with a banner image. Would be great if I could include the menu items and the search & cart tabs as well.
Website is: www.maksfabrication.ca
Many Thanks,
Travis Maksimovic
@TravisMaks
To add the banner in header, Please follow up below steps.
- Go to Online store > Themes> Actions > Edit Code
- Add a new section and name it “banner-for-homepage”
- Delete the default code and paste below code.
{% if section.settings.selected_image != blank %}
{% endif %}
{% schema %}
{
"name": "banner for homepage",
"class": "banner-for-homepage",
"tag": "section",
"settings": [
{
"type": "header",
"content": "Select Image"
},
{
"type": "image_picker",
"label": "Pick Your Image",
"id": "selected_image"
}
],
"presets": [
{
"name": "banner for homepage",
"category":"Image",
"settings": {
}
}
]
}
{% endschema %}
{% javascript %}
{% endjavascript %}
- Now go to Theme > customize editor and click add section. You can see under the Image category for Image For Homepage
Thank you for the reply @DelightCart but I’m looking to put the image banner where my header is. I followed your instructions and it’s just a banner to insert on the homepage. I’ve attached a picture. I’d like the image banner where the yellow circle is in the attached picture, in the header section if possible.
Cheers,
Hii @TravisMaks
In the Venture theme, there is no functionality to display a banner image in the header. For this, you have to customize your header section with the help of a designer.
In our suggestion, please hire a designer who can help you with the same.
All the best,
Team CedCommerce