https://discord.gg/botpress logo
Carousel Cards - Button deleted
# 🤝help
b
After clicking on "Réserver maintenant" :
the button disappear
p
Is this because you want to reuse them later or just for aesthetic and accuracy purposes?
b
for both
p
Unfortunately, this is not a customizable element as of now. The only thing I can suggest is to make a feature request.
p
You can paste this in your custom styles if you want, it should get your the behavior you want:
Copy code
.bpMessageBlocksColumn .bpMessageBlocksButton[data-activated],
.bpMessageBlocksColumn .bpMessageBlocksButton[data-group-activated] {
    display: block;
}

.bpMessageBlocksCarouselContainer .bpMessageBlocksButton[data-activated],
.bpMessageBlocksCarouselContainer .bpMessageBlocksButton[data-group-activated] {
    display: block;
}
b
Hello thx, but it doesn't work :/ Here is my code :
Copy code
<style>


  /* Vos autres styles inchangés */
  @keyframes bubbleIn {
    0% { transform: scale(0) translateY(50%); opacity: 0; }
    60% { transform: scale(1.1) translateY(-10%); opacity: 1; }
    100% { transform: scale(1) translateY(0); }
  }

  .dot {
    color: green;
    font-size: 30px;
    margin-left: 5px;
    animation: pulse 3s infinite;
    text-shadow: #1dc91d 1px 1px 7px;
  }


  }

  @keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(4); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
    
    .bpMessageBlocksColumn .bpMessageBlocksButton[data-activated],
.bpMessageBlocksColumn .bpMessageBlocksButton[data-group-activated] {
    display: block;
}

.bpMessageBlocksCarouselContainer .bpMessageBlocksButton[data-activated],
.bpMessageBlocksCarouselContainer .bpMessageBlocksButton[data-group-activated] {
    display: block;
}
  }
</style>

<script src="https://cdn.botpress.cloud/webchat/v2.4/inject.js"></script>
<script>  
  window.botpress.init({
  "botId": "xxx",
  "configuration": {
    "composerPlaceholder": "Posez votre question...",
    "botName": "Corsica Hôtel",
    "botAvatar": "https://files.bpcontent.cloud/2025/04/28/13/20250428130237-xxx.png",
    "botDescription": "L'assistant de votre prochaine destination.",
    "website": {
      "title": "https://xxx.framer.website/",
      "link": "https://xxx.framer.website/"
    },
    "email": {
      "title": "reception@corsica-hotel.com",
      "link": "reception@corsica-hotel.com"
    },
    "phone": {
      "title": "0495010203",
      "link": "0495010203"
    },
    "termsOfService": {},
    "privacyPolicy": {},
    "color": "#00463D",
    "variant": "solid",
    "themeMode": "light",
    "fontFamily": "inter",
    "radius": 1,
    "storageLocation": "sessionStorage"
  },
  "clientId": "xxx"
});
</script>
p
you need to do i nthe dashboard and paste in the the custom styles section of your webchat config, not straight on your website
b
Thank you it worked !
2 Views