Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC:

Flah card on Smartphone 5 years 10 months ago #5567

  • rloenen
  • rloenen's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 96
  • Thank you received: 0



How can I make flashcards responsive to the size of the screen of a smartphone.
Now it's so small, that you can't see the text of image.
first image on laptop
second image on smartphone
Attachments:

Please Log in or Create an account to join the conversation.

Flah card on Smartphone 5 years 9 months ago #5645

  • Neil Pollock
  • Neil Pollock's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 92
  • Thank you received: 4
The responsiveness of interactive pages on mobile is not great. I had a very quick look at this, and my initial hacky fix would be something like:
.card {
    width: 100% !important;
    max-width: 100% !important;
}
.cardInner img {
    width: 100%;
}
#cardHolder {
    width: 100% !important;
}
#cards {
    width: 75% !important;
    max-width: 100% !important;
}

But I hate overriding CSS rules like this, and also it doesn't work perfectly, but it's perhaps a start...

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ronmjultenJohnSmith
Time to create page: 0.057 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search