Hi the header image and category images looks terrible behind a filter.
The past snippets in similar subjects do not work.
Please advise.
In the back-end of WordPress visit Appearance > Customize > Additional CSS
Add this:
.hp-listing-category__image a::before,
.hp-listing-category__image a::after {
display: none !important;
}
.hp-listing-category--view-page.header-hero--cover::after {
display: none !important;
}
However, the filter is applied to make the text more legible, which you might notice afterwards. Nevertheless, it might work on your set up.
I hope this helps!
Cheers,
Chris ![]()
This does not work. Help
Using the same instructions as above, try this code snippet instead.
.hp-listing-category--view-block .hp-listing-category__image::after {
background: none;
}
.header-hero::before {
background: none;
}
Cheers,
Chris ![]()
Thanks a million this works!
1 Like
You’re welcome, and I’m glad to hear it! ![]()
Cheers,
Chris ![]()
Caring is sharing.
So herewith 2 snippets that actually work to send copies of Request to Book and Booking Accepted emails to admin (Compliments Wordpress user group)
add_action( 'hivepress/v1/emails/booking_request/send', function($email){
$headers = array( 'Content-Type: text/html; charset=UTF-8' );
wp_mail(
get_option('admin_email'),
$email->get_subject(),
$email->get_body(),
$headers
);
} );
add_action('hivepress/v1/emails/booking_accept/send', 'wpse430307_send_email' );
function wpse430307_send_email( $email ) {
$headers = array( 'Content-Type: text/html; charset=UTF-8' );
wp_mail(
get_option( 'admin_email' )
, $email->get_subject()
, $email->get_body()
, $headers
);
}
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.