General questions and topics about Xerte Toolkits that don’t fit anywhere else.

Flashcard header text and icons

  • andymconnor
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago #8762 by andymconnor
Flashcard header text and icons was created by andymconnor
I'm developing some flashcards using Xerte and keen to change some of the way these are displayed to they appear a bit more seamless when used on our LMS.

The two things (see attached) that I would like to do are:

1. Change the size of the header text
2. Change the colour of the icons used

I'm developing a custom theme as I go and have tried changing the CSS for the #x_headerBlock, h2, h1 section of the theme, I can change the colour and weight of the text in the header no problem, but if I try and change the size then it has no effect. I've tried inserting a style directly into the content, and it is the same deal. I can change other attributes of the text but not the size.

I also can't find how to change the colour of the icons. I've tried changing the colours in the theme icons but that doesn't seem to do anything.
Attachments:

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

  • andymconnor
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago - 2 years 9 months ago #8763 by andymconnor
Replied by andymconnor on topic Flashcard header text and icons
Should have waiting another half an hour before asking for help..... the "responsive text" option was set, so with that turned off I can set the font size of <h1> text. Only by adding it in to the learning object itself as a style. I'd really like to do this in the theme so that it would apply to all new LOs. Any suggestions? Edits that I make to the theme CSS don't seem to get applied.

Still looking into the icon colour as well..
Last edit: 2 years 9 months ago by andymconnor.

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

More
2 years 9 months ago #8765 by tom
Replied by tom on topic Flashcard header text and icons
Hi,

If you're working on a theme, I have a tip for you:

You can limit changing css attributes for tags to a certain page by including the class of the page type before the tag:

.x_flashCards_page .h3 {
color: #ff0000;
}

To change the color of the buttons you should be able to use something like:

.x_flashCards_page .btnHolder span {
color: #ff0000;
}
The following user(s) said Thank You: andymconnor

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

  • andymconnor
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago #8766 by andymconnor
Replied by andymconnor on topic Flashcard header text and icons
Thanks, I'll give that a go. It can be on all pages, it just seems that size doesn't get adjusted from the theme. I will keep playing around with it until I get it to work.

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

Moderators: ingdon
Time to create page: 0.259 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo