This topic has 7 replies, 2 voices, and was last updated 9 years, 3 months ago ago by Jack Richardson
I have added a custom field to add background images to the page-heading of pages…
this works perfectly, I located the code in theme-functions.php
<div class="page-heading bc-type-<?php esc_attr_e( $l['breadcrumb'] ); ?>"style="background-image: url('<?php the_field('imagen_cabecera_jamdx'); ?>');">
it works ONLY with the pages… the field that appears when editing a woocommerce category, is not appearing in the front end.
can you kindly point me where is the file / code I need to edit to add this same custom field to be used as background image for the categories?
thank u guys I love the theme,
Hello,
You can add background image in header for product categories in WP Dashboard > Products > Categories > edit a category > Category Header.
Best regards,
Jack Richardson.
Hi, thanks for your reply. this does not do what I want.
please help me to understand how the theme is built so I can customize.
what I want to do is to put a background image behind the title… this is a customisation, I know, i kindly ask your you guidance just to find the file that renders this part of the category page… in the normal wp pages I have managed to find and implement.
but i cannot find the file or code that does the same for categories…
Hello,
You need edit the file wp-content/themes/woopress/woocommerce/global/breadcrumb.php.
Best regards,
Jack Richardson.
hi jack, i have tried but this is not working…
is there anything Im missing? seems that the fiels show empty when I call them from that file….
how can it be that is possible to change the breadcrumb backgrund for single pages but not for categories? this should be ammended in next updates of the theme…
:/
Hello,
Please provide us with WP Dashboard and FTP credentials and specify what code you’re trying to add.
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up