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.
The forum of the forums
3 posters

    Spoilers showing in mobile version

    ZeroJones
    ZeroJones
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    In progress Spoilers showing in mobile version

    Post by ZeroJones June 18th 2016, 9:59 pm

    Hello!

    It's just as the topic title says, really - the new mobile version of the site (congratulations on that, by the way - brilliant, it is) is set to show what forum users have put in spoiler tags automatically. Is there a way to set the mobile version so that text in spoilers stays hidden?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Spoilers showing in mobile version

    Post by SLGray June 18th 2016, 10:07 pm

    Could you post a link to a topic that contains spoilers that guests can see?



    Spoilers showing in mobile version Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    ZeroJones
    ZeroJones
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    In progress Re: Spoilers showing in mobile version

    Post by ZeroJones June 19th 2016, 10:39 pm

    Yup!

    http://messedupcables.forumotion.net/t37p575-what-s-new-pussycat

    The spoiler near the bottom about Citizen Kane (!) is open, for example.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Spoilers showing in mobile version

    Post by SLGray June 20th 2016, 7:22 am

    I just checked. If you notice, there is an triangle image to the right of the spoiler. It is saying there is an error or errors. Have you modified the spoilers with any kind of coding?



    Spoilers showing in mobile version Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    ZeroJones
    ZeroJones
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    In progress Re: Spoilers showing in mobile version

    Post by ZeroJones June 20th 2016, 9:27 pm

    Not as far as I'm aware. I changed the text colour of links a few months ago but that's all I can think of. I'll take a look and report back.
    ZeroJones
    ZeroJones
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    In progress Re: Spoilers showing in mobile version

    Post by ZeroJones June 23rd 2016, 11:47 pm

    OK, I've looked things over, and I'm sure that when I changed the colours of the links I never scrolled down as far as the spoiler section on the CSS Stylesheet. I tried removing the mobile pagination, which is the only other serious thing I've done, and it had no effect. Crying or Very sad

    In short, help, please!
    Shadow
    Shadow
    Manager
    Manager


    Male Posts : 16208
    Reputation : 1832
    Language : French, English

    In progress Re: Spoilers showing in mobile version

    Post by Shadow June 24th 2016, 10:50 am

    Hello,

    I have conducted some tests on your forum and I see that the problem comes from your CSS. As I'm not an expert, I think you should share your code, especially the one concerning the spoilers here between code balises and let the community helps you find out what's wrong. Sorry to not be able to help you more.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Spoilers showing in mobile version

    Post by SLGray June 24th 2016, 7:11 pm

    When you do share your codes, please use the BBCode code tags.
    Code:
    [code][/code]



    Spoilers showing in mobile version Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    ZeroJones
    ZeroJones
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    In progress Re: Spoilers showing in mobile version

    Post by ZeroJones July 2nd 2016, 10:40 am

    OK, here's the spoiler section (hope this is right!):

    Code:
    /* Spoiler */
    .spoiler_closed {
       display:block;
       font-family: Verdana,Arial,Helvetica,sans-serif;
       font-size: 11px;
       color: #536482;
       line-height: 125%;
       background-color: #cedfed;
       border: #cadceb;
       border-style: solid;
       border-left-width: 1px;
       border-top-width: 1px;
       border-right-width: 1px;
       border-bottom-width: 1px;
       }
    .spoiler_closed.hidden {
       display:none;
       }
    .spoiler_content {
       display:block;
       font-family: Verdana,Arial,Helvetica,sans-serif;
       font-size: 11px;
       color: #536482;
       line-height: 125%;
       background-color: #cedfed;
       border: #cadceb;
       border-style: solid;
       border-left-width: 1px;
       border-top-width: 1px;
       border-right-width: 1px;
       border-bottom-width: 1px;
       }
    .spoiler_content.hidden {
       display:none;
       }
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Spoilers showing in mobile version

    Post by SLGray July 2nd 2016, 9:03 pm

    Does this not remove the hidden part of the spoiler?
    Code:
    .spoiler_closed.hidden {   display:none;   }



    Spoilers showing in mobile version Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    ZeroJones
    ZeroJones
    New Member


    Posts : 8
    Reputation : 1
    Language : English

    In progress Re: Spoilers showing in mobile version

    Post by ZeroJones July 3rd 2016, 10:32 am

    On the non-mobile version of the forum, it doesn't. Is that the bit that needs changing for the mobile version?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Spoilers showing in mobile version

    Post by SLGray July 3rd 2016, 8:51 pm

    Try it and see what happens.  Make sure to save the code to add it back if it does not work.



    Spoilers showing in mobile version Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is November 11th 2024, 6:52 pm