Support » Theme: OceanWP » Bug – Category description

  • Resolved Manu

    (@manuxx34)


    Hi

    Since recent update, category description appears below the menu item.

    The bug is quite strange. Ill try to explain:

    If you add a menu item to your main menu which already has a description it appears below the menu item.

    Even updating the category description in backend has no effect below the menu. The initial text remains.

    In other words, if you have text in a category description and add that category to a menu it will show the text of the category.

    The workaround for now I had to do to solve it:
    1- Remove the menu item for that category.
    2 -Remove the category description.
    3 -Add the menu item for the category.
    4 -Add category description.

    Regards

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

    Please use the below CSS for now. We’ll fix the issue and update the theme.

    span.nav-content {
        display: none;
    }

    Thank you

    Theme Author oceanwp

    (@oceanwp)

    Hello, I just checked, I don’t know why but apparently, when you add a description to your product category, it automatically adds the description in your menu item when you add it to your menu.
    Click the “Screen Options” tab at the top right of your screen and check the “Description” field. Then open your category menu item and delete the description.

    Hi, thanks for fix ๐Ÿ™‚

    I Found a related issue not major ๐Ÿ™‚

    I create top level category pages using the Woocommerce short code as in the following example:

    [product_categories per_page=”12″ columns=”3″ ids=”208, 207, 206, 205, 202, 214, 217, 212, 220, 225, 203, 219, 222, 221, 231, 213″]

    If ‘Grid/list Buttons’ is Enabled and Default Catalog View is set to Grid View then the full category description is displayed under each category in Grid View.

    (Appearance -> Customize -> Woocommerce ->archives -> Toolbar, Grid/list Buttons)

    Theme Author oceanwp

    (@oceanwp)

    Hi, can you send me the page url where you have this problem?

    Hi, yes,

    This page:

    https://dev.rhodesgreece.org.uk/hotels

    Only some categories have descriptions but they are displaying in full under each hotel category.

    Disabling โ€˜Grid/list Buttonsโ€™ fixes the problem.

    Regards

    Also the excerpt length setting only affects list layout not the descriptions that appear in grid layout

    • This reply was modified 3 years, 10 months ago by JDTravel.
    Theme Author oceanwp

    (@oceanwp)

    Hello, try this css code:

    .woocommerce ul.products.grid .woo-desc {
        display: none;
    }

    Hi,
    That worked great, thanks! ๐Ÿ™‚
    I placed the code in style.css in the child theme. I’m not a coder, is this the best place for the code?

    Cheers!
    John

    Theme Author oceanwp

    (@oceanwp)

    Hi, yes perfect ๐Ÿ™‚

    Thanks great ๐Ÿ™‚

    Theme Author oceanwp

    (@oceanwp)

    You’re welcome ๐Ÿ™‚

    Hi,

    Following on from this thread, I’m now adding short descriptions for each Woocommerce category as in the example below:

    https://dev.rhodesgreece.org.uk/hotels/afandou

    How can I limit the descriptions to around 200 characters on the following pages?

    https://dev.rhodesgreece.org.uk/hotels

    Hope you can help, thanks, John

    Theme Author oceanwp

    (@oceanwp)

    Hello, you can control the excerpt length in the WooCommerce > Archive section of the customizer.

    Hi,
    The excerpt length only restricts the length of product descriptions as shown on the example “Afandou Bay Resort Suites” accommodation in the following page:

    https://dev.rhodesgreece.org.uk/hotels/afandou

    It doesn’t restrict the length of product category descriptions, if the category page is a list of subcategories as in the following page:

    https://dev.rhodesgreece.org.uk/hotels

    Theme Author oceanwp

    (@oceanwp)

    Ah yes, sorry, can you create a pre-purchase ticket on oceanwp.org? I will ask you more information.

    Hi thanks, I’ve created a pre-purchase ticket as requested.
    Hope you can help ๐Ÿ™‚

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Bug – Category description’ is closed to new replies.