• Hi,

    I have been bashing myself for hours.
    For the sake of God I cannot get rid off the title being displayed on top of my different categories.

    Is there a simple code I can add to the style.css or functions?

    I already have the recommended child theme installed.

    All help appreciated.

    Many thanks.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Try to follow the documentation to disable the page title globally – https://docs.oceanwp.org/article/166-disabling-the-page-title

    Thread Starter streamboss

    (@streamboss)

    Hi Amit,

    Thank you for your response. I already tried what you suggested. However if I do so, yes, the page title is gone, but all products are moved up on the page, and collide with my menu. I hope you understand :).

    Once again, thank you.

    It is because you are using the transparent header style for category pages. Have you added any code related to header style?

    Disable the page title using the documentation and add the below code to the functions.php file of the child theme to fix it –

    function prefix_header_style($style) {
    
        if ( is_product_category() ) {
            $style = 'minimal';
        }
        return $style;
    }
    add_filter('oceanwp_header_style','prefix_header_style');
    Thread Starter streamboss

    (@streamboss)

    Hmm, I dont believe I added any code related to header style or anything else.

    Could you please elaborate what you mean when saying – “Disable the page title using the documentation”?
    As I am not sure what documentation is?

    Do I just put the code and the end of functions.php before the final }?

    I really appreciate your help buddy.

    Use the documentation to disable it – https://docs.oceanwp.org/article/166-disabling-the-page-title

    Also, add the code at the end of the line in the functions.php file of the child theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help – hide title from categories’ is closed to new replies.