Forum Replies Created
-
AuthorPosts
-
Hi Harry,
I bought and installed the premium version of YITH Wishlist now. Quite many functions don’t work with it. Do you know the files where you guys have customized the wishlist functionalities within the theme files?
Best,
Florian
Worked greatly.
Now can we a quick CSS to vertically align the picture in the center?
Thank you.
Attachments:
You must be logged in to view attached files.Hi Harry I got it that the main picture is now sticky and the gallery next to it as well. But the sticky part is set on the height of the main picture – so when the visitor scrools down and a picture has not the height as the gallery at the left side has, then, the gallery on the left side lays over the content below.
Just ignore the errors in the screenshot – these are from elsewhere.
Attachments:
You must be logged in to view attached files.Hi Harry,
Thank you.
Did it but it doesn’t get displayed properly: see here: https://www.fashionchingu.com/upstroke/kpop-fashion/itzy-fashion/black-one-piece-jumpsuit-chaeryeong-itzy/
Also tried it without any additional CSS
Login credentials same as previous mentioned.
Thank you.
Hi Harry,
So it still shows fatal error.
The thing is when I apply mobile code only it works.
And also when I apply our first code (not mobile) it works as well.
So is there any way that we can insert the two codes separately? Maybe this will solve it.
Thanks,
FLorianI deleted all files from my functions.php in child theme as well as from my plugin My Custom Functions.
If it works on your site could you please send me code from there, maybe an error or something got pasted in your previous message.
Thank you!
Hi Harry,
Thank you very much.
I don’t know why but it creates a fatal error.
Best,
FloHi Harry,
1. This is the code I applied now and on my end somehow category text is not below:
//”ON MOBILE” Change position of category text & Remove Grey Bar & Background Picture Of P-Category, P-Attributes, P-Tags
if ( wp_is_mobile() ) {
function remove_shop_heading() {
remove_action( ‘woocommerce_before_main_content’, ‘jas_claue_wc_page_head’, 15 );
add_action( ‘woocommerce_after_shop_loop_item_title’, ‘woocommerce_template_loop_rating’, 5 );
}
add_action(‘wp_head’, ‘remove_shop_heading’);function jas_claue_child_wc_page_head() {
if ( ! cs_get_option( ‘wc-enable-page-title’ ) || ( class_exists( ‘WCV_Vendors’ ) && WCV_Vendors::is_vendor_page() ) ) return;
$title = cs_get_option( ‘wc-page-title’ );
if ( is_search() ) {
$output .= ‘
<h1 class=”mb__5 cw”>’ . sprintf(__( ‘Search Results for: %s’, ‘claue’ ), ” . get_search_query() . ” ) . ‘</h1>
‘;
} else {
// Remove old position of category description
remove_action( ‘woocommerce_archive_description’, ‘woocommerce_taxonomy_archive_description’, 10 );
$output .= ‘
<h1 class=”cw”>’ . single_cat_title( ”, false ) . ‘</h1>
‘;
add_action( ‘woocommerce_after_shop_loop’, ‘woocommerce_taxonomy_archive_description’, 10 );
}
ob_start();
$output .= ob_get_clean();
echo wp_kses_post( $output );
}
add_action( ‘woocommerce_before_main_content’, ‘jas_claue_child_wc_page_head’, 15 );
}2. Yes totally true 🙂
Hi Harry,
Thank you!
Now the Category Text is on mobile above the products it has to be below the products 🙂
Okay and the last thing is, since on attributes & tags you can not set a background picture, can we apply the code as well on Desktop for Product-Attributes & -Tags?
You’re the man. Thank you!
Okay great I replaced it, everything fine.
Sorry for bothering one more time, but is it possible to trigger this function only on mobile devices?
Thank you & greetings,
Florian -
AuthorPosts