The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello,
I would like the texts of the posts and threads of the forums [not titles, only texts] to have a different color when selected/highlighted with the mouse. The same for the text of the articles of the CMS [appearing in the article page itself, and in the general content.php page]. The same for the text of blog posts/comments. Please tell me if:
I know that I have to add this to the parapgraphs: HTML Code:
::-moz-selection{
background:#cc0000;
color:#fff;
}
::selection {
background:#cc0000;
color:#fff;
|
|
#2
|
|||
|
|||
|
bump
|
|
#3
|
|||
|
|||
|
bump 2
|
|
#4
|
|||
|
|||
|
bump 3
|
|
#5
|
||||
|
||||
|
Try adding this to your additional.css template:
Code:
.postcontent::selection{
background:#cc0000;
color:#fff;
}
.blogcontent::selection{
background:#cc0000;
color:#fff;
}
.postcontainer::selection{
background:#cc0000;
color:#fff;
}
.postcontent::-moz-selection{
background:#cc0000;
color:#fff;
}
.blogcontent::-moz-selection{
background:#cc0000;
color:#fff;
}
.postcontainer::-moz-selection{
background:#cc0000;
color:#fff;
}
|
|
#6
|
|||
|
|||
|
Hi!! It works fine!! Thank you...
however it works only for normal text... if it is cursive or bold it doesn't work. If I leave HTML Code:
.postcontent::selection{
background:#cc0000;
color:#fff;
}
if I put: HTML Code:
.postcontent b i::selection{
background:#cc0000;
color:#fff;
}
if I put HTML Code:
.postcontent b::selection{
background:#cc0000;
color:#fff;
}
what should I put if I want it applied to each styles (bold, italics, normal)? |
|
#7
|
|||
|
|||
|
In the end I decided to apply it to all the text of all VB CMS, and put:
Code:
*::selection{
background:#cc0000;
color:#fff;
*::-moz-selection{
background:#cc0000;
color:#fff;
I would like it to work also in Chrome and Opera. According to CSS3 it should work. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|