Set Gradiant Card to opened as default


Topic: Set Gradiant Card to opened as default

Espen Rønning pro premium priority asked 5 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 5 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 pro premium priority commented 5 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 5 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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.10.1
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No