Welcome Guest ! Please   Login or Register


Check out our latest Premium Themes, Majestic , Majestic - Dark and Musk Themes for MyBB 1.8 Click to Shop Now

Now open for Custom Theme requests : Click to Order Now





 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flat Desire colour changer

Mitch18 Offline
Junior Member
**

Posts: 5
Joined: Jul 2014
Likes Received : 0

Nationality: Undisclosed

Mood: None

Points: 69.99Points
Post: #1
Flat Desire colour changer

So when I use the colour changer, it is only for me. Is there a way I can set the default board colour?
08-02-2014 07:03 AM
Find
0
Quote




envira Offline
Doctor Web
*******

Posts: 1,245
Joined: Aug 2012
Likes Received : 306

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 63,253.44Points
Post: #2
RE: Flat Desire colour changer

Hello bro,
You nee to edit the cp.js file included in the js folder in images folder.
You can change the hex color code to your preferred color.
In that you need to find the variables like headerwrap, thead etc, and you can include what ever you want.
If you still find it difficult, please feel free to ask
regards

[Image: lt79ucY.png]
08-02-2014 10:35 AM
Find
0
Quote




Mitch18 Offline
Junior Member
**

Posts: 5
Joined: Jul 2014
Likes Received : 0

Nationality: Undisclosed

Mood: None

Points: 69.99Points
Post: #3
RE: Flat Desire colour changer

Sorry I feel stupid I think this is the file you are talking about

Code:
jQuery.noConflict();jQuery(document).ready(function(b){var c=".thead,.header,.button, .fico, .totop, .pagination .pagination_current, #searchform input[type='submit'], .pravatar";var a=".post_controls a";b("#colorpicker").ColorPicker({onSubmit:function(d,g,e,f){b(f).val(g);b(f).ColorPickerHide();b(f​).css("backgroundColor","#"+g);b(c).css("background-color","#"+g);b(a).css("color","#"+g);b.cookie("customcolor",g,{expires:365,path:"/"})},onBeforeShow:function(){b(this).ColorPickerSetColor(this.value)},onChange:fu​nction(d,f,e){b(c).css("background-color","#"+f);b(a).css("color","#"+f);b.cookie("customcolor",f,{expires:365,path:"/"});b("#colorpicker").val(b.cookie("customcolor"))}}).bind("keyup",function(){b(this).ColorPickerSetColor(this.value)});if((b.cookie("customcolor")!=null)){b(c).css("background-color","#"+b.cookie("customcolor"));b(a).css("color","#"+b.cookie("customcolor"));b("#colorpicker").val(b.cookie("customcolor"))}else{b(c).css("background-color","#343E4A");b(a).css("color","#343E4A")}});

I want it to default to blue not grey, can you help?
(This post was last modified: 08-05-2014 12:51 PM by envira.)
08-02-2014 01:53 PM
Find
0
Quote




envira Offline
Doctor Web
*******

Posts: 1,245
Joined: Aug 2012
Likes Received : 306

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 63,253.44Points
Post: #4
RE: Flat Desire colour changer

Check the last line :.css("background-color","#343E4A");b(a).css("color","#343E4A")}});
change color to what ever hex code you want.
This should help you
regards

[Image: lt79ucY.png]
08-02-2014 02:45 PM
Find
0
Quote




Mitch18 Offline
Junior Member
**

Posts: 5
Joined: Jul 2014
Likes Received : 0

Nationality: Undisclosed

Mood: None

Points: 69.99Points
Post: #5
RE: Flat Desire colour changer

Thanks, that worked, also I just noticed the registration button doesn't work, and I don't know what to change.
<li><a href="#" style="margin-top: 8px;float: right;margin-right:5px;color: #C5C5C5;" title="Need an Account !!!! Create One Now">Create an Account</a></li>
(This post was last modified: 08-02-2014 05:14 PM by envira.)
08-02-2014 04:12 PM
Find
0
Quote




envira Offline
Doctor Web
*******

Posts: 1,245
Joined: Aug 2012
Likes Received : 306

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 63,253.44Points
Post: #6
RE: Flat Desire colour changer

he registration button fix i wanted to convey you as you can do it with few simple edits.
Navigate to ACP > Templates > FlatDesire Templates > Header Templates > Header_welcomeblock Guest Templates >
Look for a code :

Code:
<li><a href="#" style="margin-top: 8px;float: right;margin-right:5px;color: #C5C5C5;" title="Need an Account !!!! Create Now">Create an Account</a></li>

Replace with

Code:
<li><a href="{$mybb->settings['bburl']}/member.php?action=register" style="margin-top: 8px;float: right;margin-right:5px;color: #C5C5C5;" title="Need an Account !!!! Create Now">Create an Account</a></li>

Thank you.

[Image: lt79ucY.png]
08-02-2014 05:15 PM
Find
0
Quote




Mitch18 Offline
Junior Member
**

Posts: 5
Joined: Jul 2014
Likes Received : 0

Nationality: Undisclosed

Mood: None

Points: 69.99Points
Post: #7
RE: Flat Desire colour changer

the open/close sidebar button, has a typo in the tooltip, what template is that under?
08-04-2014 04:19 AM
Find
0
Quote




Mitch18 Offline
Junior Member
**

Posts: 5
Joined: Jul 2014
Likes Received : 0

Nationality: Undisclosed

Mood: None

Points: 69.99Points
Post: #8
RE: Flat Desire colour changer

bump need answer ASAP
08-05-2014 11:09 AM
Find
0
Quote




envira Offline
Doctor Web
*******

Posts: 1,245
Joined: Aug 2012
Likes Received : 306

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 63,253.44Points
Post: #9
RE: Flat Desire colour changer

Hey, its under header templates > header template
Just look for code "clickbuttons".
I am on mobile, so couldn't post the entire code.
Regards

[Image: lt79ucY.png]
08-05-2014 11:38 AM
Find
0
Quote





Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [1.8x] majestic default color + include it in color changer HMR 7 743 12-03-2015 05:03 PM
Last Post: Mexlav
  Flat desire, announcement unaligned Enviroment 16 2,425 10-18-2015 04:17 PM
Last Post: Enviroment
  Flat Desire - PM Select All Bug semih7106 17 2,218 08-24-2014 06:26 AM
Last Post: semih7106
  Flat Desire - How do i change default colour? DistributionGaming 3 1,428 08-16-2014 03:34 PM
Last Post: envira
  Problem css Flat Desire Vicen 4 1,007 08-05-2014 12:52 PM
Last Post: envira
  Flat Desire - Problem HakanAyan 2 793 08-04-2014 01:41 AM
Last Post: Vicen
  Flat Desire - how change the primary color forum Adriano 1 988 06-12-2014 09:49 AM
Last Post: envira
  Flat Desire - Zoom Out Despair 2 805 03-28-2014 09:57 PM
Last Post: Despair
  Flat Desire Spanish Translation? Tony 12 2,033 03-04-2014 02:16 AM
Last Post: envira
  Flat Desire - Group Images and More Despair 6 1,329 02-26-2014 02:35 AM
Last Post: Despair

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

About Myskins

MySkins Studio is MyBB Themes Resource Website.

At MySkins Studio, We procreate MyBB Themes both custom MyBB Themes and premium Mybb Themes.We believe in quality and assure you the best MyBB themes at a very reasonable price , that suits your taste.

Feel free to drop in a request and get a quote.