Moving FM's new colour chart

Go down

Solved Moving FM's new colour chart

Post by APE on April 23rd 2014, 3:02 am

Dear all,

I have been trying to move the Tool menu for the colour chart but can not work it out
Right now when you click it it comes right down the page
is there away of moving it back to the top of the tools.

What it looks like now

And how I would like it placed please 


Much thanks to anyone that can sort this out for me.

Ape


Last edited by APE on April 23rd 2014, 11:27 pm; edited 1 time in total
avatar
APE
Administrator
Administrator

Male Posts : 12327
Reputation : 1284
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Moving FM's new colour chart

Post by Ange Tuteur on April 23rd 2014, 6:44 am

Hello APE,

Add this to your stylesheet :
Code:
.sceditor-color-column { float:none; }
.sceditor-color-column a { display:inline-block; }
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Moving FM's new colour chart

Post by APE on April 23rd 2014, 2:31 pm

@Ange Tuteur wrote:Hello APE,

Add this to your stylesheet :
Code:
.sceditor-color-column { float:none; }
.sceditor-color-column a { display:inline-block; }
That worked well but now its over the Emotes box and it has a white gap to the right of the colours Sad


can this be fixed too please ?

Ape  :rose:
avatar
APE
Administrator
Administrator

Male Posts : 12327
Reputation : 1284
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Moving FM's new colour chart

Post by Ange Tuteur on April 23rd 2014, 11:09 pm

Change your CSS to :
Code:
.sceditor-color-column { float:none !important; }
.sceditor-color-column a { display:inline-block; }

If you want to move it to the left then you'll need to subtract the current offset by a script.

Placement : in all the pages
Code:
$(window).load(function() {
    $('.sceditor-button-color').click(function() {
        var x = $(this).offset().left - 400;
        $('.sceditor-color-picker').css('left',x + 'px')
    });
});
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Moving FM's new colour chart

Post by APE on April 23rd 2014, 11:26 pm

@Ange Tuteur wrote:Change your CSS to :
Code:
.sceditor-color-column { float:none !important; }
.sceditor-color-column a { display:inline-block; }

If you want to move it to the left then you'll need to subtract the current offset by a script.

Placement : in all the pages
Code:
$(window).load(function() {
    $('.sceditor-button-color').click(function() {
        var x = $(this).offset().left - 400;
        $('.sceditor-color-picker').css('left',x + 'px')
    });
});
Thank you that worked like a charm you Rock  :wouhou:

 rock

Solved With thanks +1
avatar
APE
Administrator
Administrator

Male Posts : 12327
Reputation : 1284
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Moving FM's new colour chart

Post by Ange Tuteur on April 23rd 2014, 11:49 pm

You're welcome I love you

Topic solved and archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


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