The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Spoiler Box Colour on Mobile

3 posters

Go down

Solved Spoiler Box Colour on Mobile

Post by Madzimum Thrill June 28th 2017, 2:17 pm

Hello. Hello

So I don't own a mobile phone myself, but on our dark theme with white text, one of my users let me know that the spoiler box shows grey on white. I solved this problem for the forum itself using someone else's code in the cssstylesheet from one of your help threads, but I don't know how to code myself. Is it possible to change the colour of the spoiler box in mobile to black? I'm on a phbb3 forum.

What My User Sees
Madzimum Thrill
Madzimum Thrill
New Member

Posts : 11
Reputation : 1
Language : English

http://secretclubhouse.forumotion.com/t23-wwe-thread

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by TheCrow June 28th 2017, 2:45 pm

Hello,

Try adding this in your CSS:
Code:
@media screen and (min-width:0px) and (max-width:640px) {
  .spoiler_content.hidden {
    color: #333333;
  }
}


Spoiler Box Colour on Mobile Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by Madzimum Thrill June 28th 2017, 2:48 pm

Added, I'll let you know if it works once my user lets me know
Madzimum Thrill
Madzimum Thrill
New Member

Posts : 11
Reputation : 1
Language : English

http://secretclubhouse.forumotion.com/t23-wwe-thread

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by TheCrow June 28th 2017, 2:49 pm

Is there any topic that guests can see the spoiler message so i can test it out?

Edit: You have to add
Code:
!important
to the code in order for it to work.


Spoiler Box Colour on Mobile Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by Madzimum Thrill June 28th 2017, 2:55 pm

Can you see this thread?

I added !important next to the colour hashtag, is that how you do it?
Madzimum Thrill
Madzimum Thrill
New Member

Posts : 11
Reputation : 1
Language : English

http://secretclubhouse.forumotion.com/t23-wwe-thread

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by TheCrow June 28th 2017, 2:59 pm

Yes, now it's working perfectly! Here's a screenshot:

Spoiler Box Colour on Mobile Screen10


Spoiler Box Colour on Mobile Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by Madzimum Thrill June 28th 2017, 3:01 pm

Thank you cheers
Madzimum Thrill
Madzimum Thrill
New Member

Posts : 11
Reputation : 1
Language : English

http://secretclubhouse.forumotion.com/t23-wwe-thread

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by TheCrow June 28th 2017, 3:04 pm

So can i mark this solved @Madzimum Thrill?


Spoiler Box Colour on Mobile Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by Madzimum Thrill June 28th 2017, 3:22 pm

If it's all right, I'd like to wait to see if my user can see it too, just in case he can't for whatever reason.
Madzimum Thrill
Madzimum Thrill
New Member

Posts : 11
Reputation : 1
Language : English

http://secretclubhouse.forumotion.com/t23-wwe-thread

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by TheCrow June 28th 2017, 3:23 pm

Okay, let me know when you're okay.


Spoiler Box Colour on Mobile Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by Madzimum Thrill June 28th 2017, 6:01 pm

@Luffy

Aight, the user checked back and it works great. Consider it solved. Arigato, Mugiwara cheers
Madzimum Thrill
Madzimum Thrill
New Member

Posts : 11
Reputation : 1
Language : English

http://secretclubhouse.forumotion.com/t23-wwe-thread

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by Draxion June 28th 2017, 6:20 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum