Can't hide the audio replay button

627 views
Skip to first unread message

ignasbum...@yahoo.com

unread,
Mar 14, 2016, 6:32:42 AM3/14/16
to AnkiDroid
I've added .replaybutton {display: none;} to the styling section of the card in ankidroid but it keeps displaying the replay audio button on the reviews anyway. How do I hide the thing? It keeps acting as a hint because I don't have audio on all the cards.

Eginhard

unread,
Mar 14, 2016, 10:52:55 AM3/14/16
to AnkiDroid
This snippet is correct and definitely works. Can you check that your edits to the styling were actually saved and that this line is not nested within any other parts of the code?

Eginhard

On 14 March 2016 at 10:31, ignasbumblauskas via AnkiDroid <anki-a...@googlegroups.com> wrote:
I've added .replaybutton {display: none;} to the styling section of the card in ankidroid but it keeps displaying the replay audio button on the reviews anyway. How do I hide the thing? It keeps acting as a hint because I don't have audio on all the cards.

--
You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-android...@googlegroups.com.
To post to this group, send email to anki-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/0440d3c7-9547-4752-a84f-cf4bbc396cf9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ignasbum...@yahoo.com

unread,
Mar 14, 2016, 12:13:51 PM3/14/16
to AnkiDroid, enno.herman...@gmail.com
On Monday, March 14, 2016 at 4:52:55 PM UTC+2, Eginhard wrote:
This snippet is correct and definitely works. Can you check that your edits to the styling were actually saved and that this line is not nested within any other parts of the code?


The entire code for the styling is

.card {
font-family: arial;
font-size: 20px;
text-align: center;
color: black;
background-color: white;
}
.replaybutton {
display: none;
}

There doesn't seem to be any nesting.

The code is definitely saved too because upon synchronising in anki desktop and loading up the card the code is also there. Despite all this the replay button is still there upon preview and review of the card.

Eginhard

unread,
Mar 15, 2016, 7:10:17 PM3/15/16
to AnkiDroid
Resolved, the problem was a typo in the CSS.
Reply all
Reply to author
Forward
0 new messages