Change the selection color

Post new topic   Reply to topic

View previous topic View next topic Go down

Re: Change the selection color

Post by ibradley on September 7th 2009, 8:32 pm

Change The Selection Color

Do you want to change the selection color on your forum?
You can choose any color you want!

Requirements
Template Editing


If you don't know what the selection color is it is this.

When you hold left click down and go over the text.

You can change it to any color you want!
Like i did...


To do this
Go to Admin Panel > Display > Templates > General > overall_header_new

Find the following code
Code:

<html dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" xmlns="http://www.w3.org/1999/xhtml">
<head>


And paste this code
Code:
<style type="text/css">
::selection        { background:#HEX COLOR CODE; color:#000; /* Safari and Opera */ }
2.
::-moz-selection  { background:#HEX COLOR CODE; color:#000; /* Firefox */ }
</style>

Where it says HEX COLOR CODE INSERT THE 6 NUMBERS OF THE COLOR YOU WANT.

It should look like this now
Code:
<style type="text/css">
::selection        { background:#00e61b; color:#000; /* Safari and Opera */ }
2.
::-moz-selection  { background:#00e61b; color:#000; /* Firefox */ }
</style>

Only with a different color number.


Now push save, it will take you back to Templates > General
Scroll down to overall_header_new now push (Publish)

Now it should be changed.








Written by iBradley


Last edited by ibradley on September 8th 2009, 2:58 pm; edited 1 time in total (Reason for editing : Added a few things)

ibradley
Forumotion Member

Posts: 67
Language: English
Country:
Join date: 2009-08-29

Back to top Go down

View previous topic View next topic Back to top


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