Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
General questions and topics about Xerte Toolkits that don’t fit anywhere else.
  • Page:
  • 1

TOPIC:

Flashcard header text and icons 5 months 3 weeks ago #8762

  • andymconnor
  • andymconnor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
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 Inloggen or Create an account to join the conversation.

Flashcard header text and icons 5 months 3 weeks ago #8763

  • andymconnor
  • andymconnor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
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..

Please Inloggen or Create an account to join the conversation.

Last edit: by andymconnor.

Flashcard header text and icons 5 months 3 weeks ago #8765

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1293
  • Thank you received: 308
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 Inloggen or Create an account to join the conversation.

Flashcard header text and icons 5 months 3 weeks ago #8766

  • andymconnor
  • andymconnor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
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 Inloggen or Create an account to join the conversation.

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

Search