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.

Altering the Code+Spoiler Box

3 posters

Go down

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
ℋunni
ℋunni
Forumember

Female Posts : 150
Reputation : 4
Language : English

Back to top Go down

In progress Re: Altering the Code+Spoiler Box

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

SLGray
SLGray
Administrator
Administrator

Male Posts : 51576
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

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
ankillien
ankillien
Energetic

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

Back to top Go down

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.
ℋunni
ℋunni
Forumember

Female Posts : 150
Reputation : 4
Language : English

Back to top Go down

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;
}
ankillien
ankillien
Energetic

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

Back to top Go down

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
ℋunni
ℋunni
Forumember

Female Posts : 150
Reputation : 4
Language : English

Back to top Go down

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
}
ankillien
ankillien
Energetic

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

Back to top Go down

In progress Re: Altering the Code+Spoiler Box

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

Perfectly solved.
Thank you ankillien <3
ℋunni
ℋunni
Forumember

Female Posts : 150
Reputation : 4
Language : English

Back to top Go down

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
ankillien
ankillien
Energetic

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

Back to top Go down

Back to top

- Similar topics

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