MyBB Community Forums

Full Version: What is the code for
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hey,

I wanted to know what is the code for the new code and quote boxes

Code

If we type a lot 
of text 
it can scroll down 
so I want to know the code of 
all of this




.
Quote:quote
Look for the .quote_body and .code_body sections in the Additional CSS for your theme, and add the following code to those sections.

overflow: auto;

That will add the scrollbars when there is a large amount of text in a quote/code box.
i didnt found them
In Admin CP > Themes > Modify / Delete > edit theme style

At the bottom there is Additional CSS

Search in that box.. they must be there.
the
is empty

that what i found
body {
margin: 0;
padding: 0;
}

#infobar {
font: message-box;
}

#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
display: block;
float: left;
clear: both;
width: 100%;
color: InfoText;
background: InfoBackground;
padding: .45em .3em .45em 2em;
border-bottom: .16em outset;
text-decoration: none;
cursor: default;
}

#infobar a:hover {
color: HighlightText;
background: Highlight;
}

.rpg1 {
border: 1px solid #000000;
text-align: left;
}
.rpg2 {
background-color: #C0C0C0;
}
Okay it seems this is not the orginal theme. Do you still have MyBB Default ? copy the codes under its Additional CSS to the Additional CSS of this theme you are woking with and apply what is needed later/.
This doesn't work for me, there still are no code boxes.
zaher1988 Wrote:In Admin CP > Themes > Modify  / Delete > edit theme style

At the bottom there is Additional CSS

Search in that box.. they must be there.

please can any one give the code to me
beacause i have deleted the default style
zaher1988 Wrote:Okay it seems this is not the orginal theme. Do you still have MyBB Default ? copy the codes under its Additional CSS to the Additional CSS of this theme you are woking with and apply what is needed later/.

Mybb no longer shows that additional code in the css theme editor. You just have to add new css.

This might be helpful.

.quote_header, .code_header {
padding: 4px;
border: 1px dashed #000000;
border-bottom: none;
color: #000000;
background: #ffffff;
font-weight: bold;
}

.quote_body, .code_body {
padding: 4px;
border: 1px dashed #000000;
border-top: none;
color: #000000;
background: #ffffff;
}
Ok I looked for the code in my own theme it was not there then I edited the myBB default theme with the code MusicalMidget gave and copied it onto my theme's Additional CSS but it made no difference then I tried the code Labrocca gave and added it it still did no work.

Please tell me clearly as to what to do.
Pages: 1 2 3