The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Spoiler Box Colour on Mobile

View previous topic View next topic Go down

Solved Spoiler Box Colour on Mobile

Post by Madzimum Thrill on 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
avatar
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 Luffy on 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;
  }
}





avatar
Luffy
Manager
Manager

Male Posts : 4881
Reputation : 500
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

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

Added, I'll let you know if it works once my user lets me know
avatar
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 Luffy on 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.





avatar
Luffy
Manager
Manager

Male Posts : 4881
Reputation : 500
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by Madzimum Thrill on 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?
avatar
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 Luffy on June 28th 2017, 2:59 pm

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







avatar
Luffy
Manager
Manager

Male Posts : 4881
Reputation : 500
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

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

Thank you cheers
avatar
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 Luffy on June 28th 2017, 3:04 pm

So can i mark this solved @Madzimum Thrill?





avatar
Luffy
Manager
Manager

Male Posts : 4881
Reputation : 500
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

Post by Madzimum Thrill on 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.
avatar
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 Luffy on June 28th 2017, 3:23 pm

Okay, let me know when you're okay.





avatar
Luffy
Manager
Manager

Male Posts : 4881
Reputation : 500
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Spoiler Box Colour on Mobile

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

@Luffy

Aight, the user checked back and it works great. Consider it solved. Arigato, Mugiwara cheers
avatar
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 on June 28th 2017, 6:20 pm

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


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1840
Reputation : 230
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

View previous topic View next topic Back to top


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