• Resolved Tomi

    (@tomitech)


    I am wondering how I can remove the title from the top of the [wishlist] page, as I have a custom made block with the title in it. I renamed the title to make it invisible and minimize the space, but the title shown also changes. So in my pages list, the first entry is:
    <p style=”color:white;font-size:1px;”>Wishlist </p> — Wishlist Page

    Is it possible to keep it named Wishlist, but to prevent it from being shown at the top of the page?

    Thanks,

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    if you want to hide default wishlist title and title edit form, all you have to do is to add the following snippet of code at the end of functions.php file of your theme or child

    if( ! function_exists( 'yith_wcwl_disable_title' ) ){
    	function yith_wcwl_disable_title( $params ) {
    		$params['page_title'] = '';
    
    		return $params;
    	}
    	add_filter( 'yith_wcwl_wishlist_params', 'yith_wcwl_disable_title' );
    }
    

    Hope I’ve correctly understood what you wanted to obtain; please, let me know

    Thread Starter Tomi

    (@tomitech)

    Unfortunately, it did not remove the title I was referring to, but the ‘title’ directly above the wishlist. I am referring to the page title itself. https://ibb.co/DfXK0dG

    Hopefully my flatsome theme isn’t conflicting with this ability? I flushed the cache, also the dns cashe. I don’t know if that was necessary but hey, I did it. I also tried replacing page_title with some other things but to no avail.

    Thanks again for the quick response.

    • This reply was modified 4 years, 7 months ago by Tomi.
    Plugin Author YITHEMES

    (@yithemes)

    Hi there

    I’m not sure if I’m targeting the right element
    From your screenshot, it appears that you want to remove the page title, that is something out of plugin scope, since it is print by the theme

    Maybe if you share with me url to your site I could suggest CSS to hide that title, but for a proper solution you’d better ask to theme support

    Thread Starter Tomi

    (@tomitech)

    Yea I don’t think so either (even though it looked bang on).

    I will contact theme support and update later.

    Thanks for the help and mentoring me through using .php for the first time! I was surprisingly delighted to find out how much it resembles C ^.^

    Regards

    Plugin Author YITHEMES

    (@yithemes)

    I’ll wait for yuor news ??

    Thread Starter Tomi

    (@tomitech)

    OK, so after finally getting a child theme setup, I can continue this again. The dev gave me some code to put into the advanced options for the theme, custom css, all screens.

    body.woocommerce-wishlist .my-account-header.page-title
    {
    	display: none !important;
    }

    However, it didn’t seem to remove the title. Not even when I put it in the style.css. I figured I’ll reply to give an update since it’s been over a week.

    Plugin Author YITHEMES

    (@yithemes)

    Hi again

    As I said I’m not sure since this part of the page isn’t print by our plugin
    You can try to ask for more details to theme developers, or share here url to your wishlist, maybe with a screenshot of what you want to remove exactly, and I’ll see if I can suggest some CSS rules for the job

    Thread Starter Tomi

    (@tomitech)

    Solution: The code I gave above is correct, but also the page template needs to be called “Woocommerce – My Account”. I had it as “Container – Center Title”. Soner from flatsome UX Themes Support figured it out for me.

    Thanks for being by my side!

    • This reply was modified 4 years, 7 months ago by Tomi.
    • This reply was modified 4 years, 7 months ago by Tomi.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to remove Wishlist title’ is closed to new replies.