Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Set Gradiant Card to opened as default

Espen Rønning priority asked 4 years ago


I have a page with multiple gradient cards. Is it possible to set one of the cards as opened when the user first opens the page?


Mateusz Łubianka staff commented 4 years ago

Hi,

please, create a snippet showing your problem here: https://mdbootstrap.com/snippets/. I'll try to help you.

Best,


Espen Rønning priority commented 4 years ago

I've created a snippet her: https://mdbootstrap.com/snippets/jquery/ererling-sande-no/1981114

How do I add the cards-extended.min.css stylesheet?


Mateusz Łubianka staff answered 4 years ago


@Espen Rønning,

Unfortunately we don't have any class that allows o set one of the cards as opened when the user first opens the page. You can use Promoting card and add class .show to .card-text element https://mdbootstrap.com/plugins/jquery/extended-cards/#promoting-card

Best,



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.10.1
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No