Static block not showing in product category

This topic has 7 replies, 2 voices, and was last updated 2 years, 5 months ago ago by Olga Barlow

  • Avatar: Vaporizer
    Vaporizer
    Participant
    June 13, 2022 at 11:07

    I did put the static block short code to the description. But when guiding to the given product category, it is not visible.

    It only visible when you start at the base shop page and guide yourself from the sidebar menu. Not when entering the category directly from the main menu.

    On the inspector I can see the .term-description display is none.

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 13, 2022 at 11:42

    Hello,

    I see that you added a shortcode to the shop page banner content https://prnt.sc/05YoXoqyNjKy and it displays on the shop page. But I don’t see any product category with the banner in the description, only texts https://prnt.sc/00-UQ61BNwcf
    If you want to show a banner on the product category then add the banner shortcode to the product category description.

    Regards

    Avatar: Vaporizer
    Vaporizer
    Participant
    June 13, 2022 at 11:51

    Shortcode can be found on this product category:
    https://skalkur.styr.fo/product-category/70/
    https://ibb.co/1GMW1mz

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 13, 2022 at 12:35

    Hello,

    Because of your custom CSS https://gyazo.com/f935ae30e6101ed60ac87ea43945675c
    Why do you add display none for the description if you don’t want to hide that?

    Regards

    Avatar: Vaporizer
    Vaporizer
    Participant
    June 13, 2022 at 13:10

    Damn, was looking for that code! Not clever writing CSS code on several different places.

    Avatar: Vaporizer
    Vaporizer
    Participant
    June 13, 2022 at 13:12

    FYI: It was because I didn’t want the description. My client used it for guidance, and I didn’t want that text to be visible. But I would like some static blocks on a couple of the categories.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 13, 2022 at 13:16

    Hello,

    There is no option to hide descriptions for some categories and show them for the others, sorry. If you want to add some text and hide that use the bottom description area of the category for these purposes and hide that area but show the main description area with your shortcode.

    Regards

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘Static block not showing in product category’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.