MyBB Tutorials

How to change highlighted text color in mybb

Submitted by rahulyhg, , Thread ID: 21635

Thread Closed
rahulyhg
Member
Level:
0
Reputation:
6
Posts:
107
Likes:
36
Credits:
247
08-06-2016, 08:18 AM
This post was last modified: 08-06-2016, 09:04 AM by rahulyhg
#1
How to change highlighted text color in mybb

below is default highlighted text demo snap

[Image: yaxwc6.png]

here is what i edited (2 styles)

1st is background and 2nd is border)

[Image: uiw0ap.png]

to change highlight text go to ACP>Templates & Style>YourTheme>than click on global.css or if no global.css found dont worry its yourtheme.css>in Selector: choose .highlight as i selected check snap.

[Image: vpagl3.png]

check edited demo style 1

to change background color just change #FFFFCC to your theme color or any color you want.

check edited demo style 2

to add border just add this below to Extra CSS Attributes

border:2px solid #yourcolor;

you can also change highlighted text color by adding "color or change font or font size hope this help you.

if you using cloudflare you have to clear you global.css file cache to see the newchanges.

First tutorial, ignore if any mistake.

Enjoy Wink

RE: How to change highlighted text color in mybb

Junior Member
Level:
0
Reputation:
0
Posts:
74
Likes:
6
Credits:
0
08-06-2016, 08:23 AM
#2
Aoki learn from the best
1

RE: How to change highlighted text color in mybb

fdigl
the actual smol girl ?
Õ░åµØÑÒü«Þ¿╝õ║║
Level:
3
Reputation:
253
Posts:
3.44K
Likes:
652
Credits:
3.7K
08-06-2016, 08:24 AM
#3
That font is so similar to comic sans, dear god my eyes

RE: How to change highlighted text color in mybb

rahulyhg
Member
Level:
0
Reputation:
6
Posts:
107
Likes:
36
Credits:
247
OP
08-06-2016, 08:25 AM
This post was last modified: 08-06-2016, 08:27 AM by rahulyhg
#4
this is not for Aoki, it for noob like me
added this tutorial for the people who dont know how to edit.

RE: How to change highlighted text color in mybb

meh
Oh! Didn't See Ya There.
Supreme
Level:
0
Reputation:
54
Posts:
926
Likes:
103
Credits:
1.19K
08-06-2016, 08:54 AM
#5
god please no my eyes

change the font please

RE: How to change highlighted text color in mybb

rahulyhg
Member
Level:
0
Reputation:
6
Posts:
107
Likes:
36
Credits:
247
OP
08-06-2016, 09:04 AM
This post was last modified: 08-06-2016, 09:05 AM by rahulyhg
#6
font changed to arial, is this ok now?

RE: How to change highlighted text color in mybb

linkzy
No pressure, no diamonds
Level:
0
Reputation:
181
Posts:
5.34K
Likes:
341
Credits:
54
08-06-2016, 10:13 AM
#7
08-06-2016, 08:23 AM
sword art Wrote:
*SNAP* learn from the best

Why mention him? He can teach you what is MyBB...
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: How to change highlighted text color in mybb

Silence
King of the Crows
Level:
0
Reputation:
98
Posts:
2.55K
Likes:
219
Credits:
1.75K
08-06-2016, 10:17 AM
#8
08-06-2016, 08:23 AM
swordart Wrote:
Aoki learn from the best

lol you're gonna get fucked for mentioning he who shall not be named.
and I'm referring to Aoki
fady is a stupid cuck boi - silence

RE: How to change highlighted text color in mybb

Aoki
retired
Level:
83
Reputation:
348
Posts:
7.89K
Likes:
2.3K
Credits:
1.7K
08-06-2016, 12:15 PM
#9
08-06-2016, 08:23 AM
swordart Wrote:
Aoki learn from the best

".highlight" is useless, since it's removed from most pages here. And if I'd really use it, I'd rather use something transparent, which fits every color and also supports the selection of your browser.

Code:
::-moz-selection {
    background: rgba(0,0,0,0.3);
}

::selection {
    background: rgba(0,0,0,0.3);
}

RE: How to change highlighted text color in mybb

Venipa
venipa.net
Level:
6
Reputation:
91
Posts:
525
Likes:
148
Credits:
6.18K
08-06-2016, 12:46 PM
#10
Code:
.hightlight{text-shadow: #72b3ff 0px 0px 5px;
    color: black;
    background: rgba(255,255,255,.6);
    padding: 2px 3px!important;
    border-radius: 8px;}
looks good i think
[Image: e083956b835049f8aabd7d7d01376b52.jpeg]
/au4to0][Image: ad0png.png]
[Image: view?username=Venipa&style=small]

Users browsing this thread: 1 Guest(s)