Altering the Code+Spoiler Box Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Altering the Code+Spoiler Box

    ℋunni
    ℋunni
    Forumember


    Female Posts : 150
    Reputation : 4
    Language : English

    In progress Altering the Code+Spoiler Box

    Post by ℋunni October 2nd 2011, 8:49 pm

    Site: http://paperthin-hymn.nstars.org/
    Running: Invision

    Question!
    As simple as it sounds, I would like to change the appearance of my code/spoiler box from the one
    I currently have on my site to the identical one this site is using, along with the "Select Content" button
    for the code box.~

    Altering the Code+Spoiler Box HFoBm
    Altering the Code+Spoiler Box MEFCx

    Altering the Code+Spoiler Box DPe7c
    Altering the Code+Spoiler Box JbRWj
    SLGray
    SLGray
    Administrator
    Administrator


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

    In progress Re: Altering the Code+Spoiler Box

    Post by SLGray October 3rd 2011, 3:12 am

    ankillien
    ankillien
    Energetic


    Posts : 5198
    Reputation : 129
    Language : English, XHTML, CSS, JS, PHP, SQL

    In progress Re: Altering the Code+Spoiler Box

    Post by ankillien October 3rd 2011, 10:42 am

    Hi,

    To make the spoiler box and code box look same as this forum, you can add the following codes in Admin CP > Display > Colors > CSS..

    Code:
    .spoiler dd {
    padding: 0px;
    }.spoiler {
    background: #fff;
    border: 1px solid #999;
    }.spoiler dt {
    background: #fff;
    border-bottom: 1px solid #ccc;
    }

    .codebox {
    background: #fff;
    border: 1px solid #999;
    }.codebox dt {
    background: #fff;
    border-bottom: 1px solid #ccc;
    }.codebox dd {
    border: none;
    }

    For the select all button, use the link that slg posted above Smile
    ℋunni
    ℋunni
    Forumember


    Female Posts : 150
    Reputation : 4
    Language : English

    In progress Re: Altering the Code+Spoiler Box

    Post by ℋunni October 4th 2011, 5:22 am

    Thank you! It worked wonderfully <3

    Though, is there any way for the scrolling bar to not be there? It seems to be appearing in the code box. Also, when I use [*blockquote][/blockquote*], it literally quotes the text as if it were [*quote][/quote*]. Any help on that subject too T _T? I don't want to be a hassle.
    ankillien
    ankillien
    Energetic


    Posts : 5198
    Reputation : 129
    Language : English, XHTML, CSS, JS, PHP, SQL

    In progress Re: Altering the Code+Spoiler Box

    Post by ankillien October 4th 2011, 8:09 am

    To remove the scroll bar from code box, add following code in your CSS..

    Code:
    .codebox dd {
    max-height: auto !important;
    }
    ℋunni
    ℋunni
    Forumember


    Female Posts : 150
    Reputation : 4
    Language : English

    In progress Re: Altering the Code+Spoiler Box

    Post by ℋunni October 4th 2011, 8:55 am

    You see, the scrollbar is from left to right. Not up and down. D:
    Thank you for replying in such a timely fashion <3

    Altering the Code+Spoiler Box DTL1K
    ankillien
    ankillien
    Energetic


    Posts : 5198
    Reputation : 129
    Language : English, XHTML, CSS, JS, PHP, SQL

    In progress Re: Altering the Code+Spoiler Box

    Post by ankillien October 4th 2011, 10:19 am

    To remove the vertical scroll bar this code will help..

    Code:
    .codebox dd {
    white-space : normal !important
    }
    ℋunni
    ℋunni
    Forumember


    Female Posts : 150
    Reputation : 4
    Language : English

    In progress Re: Altering the Code+Spoiler Box

    Post by ℋunni October 4th 2011, 4:17 pm

    Perfectly solved.
    Thank you ankillien <3
    ankillien
    ankillien
    Energetic


    Posts : 5198
    Reputation : 129
    Language : English, XHTML, CSS, JS, PHP, SQL

    In progress Re: Altering the Code+Spoiler Box

    Post by ankillien October 4th 2011, 4:53 pm

    Glad I could help out Very Happy

    Topic Solved