The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Help me to insert css error

View previous topic View next topic Go down

Help me to insert css error

Post by Hoàng Nguyễn on February 29th 2016, 5:02 pm

Hi ! Can you help me fix it?

although I've used css compressor but still fails Sad



thanks you so much !!!

Hoàng Nguyễn
New Member

Posts : 2
Reputation : 1
Language : Vietnamese

Back to top Go down

Re: Help me to insert css error

Post by APE on February 29th 2016, 7:05 pm

If you have already used a css compressor then you have way to much in your CSS files

Try going overyour forum and see if you can remove some of the codes you don't need

Most of the time you add codes that are the same or you add to them.

If you have javascript codes that also need CSS to help make them look good why not add the CSS files in the Code at the bottom of the page.

Yes you can Do that but they may be a little slow at running thou

To do this

Just place your code in the middle of this code

Code:
//CSS FILES
document.write('<style type="text/css">"Your codes start here"
"And End here"
</style>');

Should end up looking something like this
//CSS FILES
Code:
document.write('<style type="text/css">#fa_thanks_message img { vertical-align:middle }#fa_thanks_message {color:#FFF;font-size:16px;font-weight:bold;text-align:center;background-color: #000;border:1px solid #BDB;border-radius:6px;padding:6px;margin:6px;box-shadow: 0px 20px 16px rgba(143, 137, 137, 0.69) inset, 0px -10px 6px rgba(0, 0, 0, 0.05) inset, 2px 2px 3px rgba(0, 0, 0, 0.6);}</style>');





APE
Manager
Manager

Male Posts : 8339
Reputation : 718
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

Re: Help me to insert css error

Post by SLGray on February 29th 2016, 7:14 pm

Also check to see if you have some codes that are similar that could be removed.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35672
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Re: Help me to insert css error

Post by Hoàng Nguyễn on March 1st 2016, 11:49 am

@APE wrote:If you have already used a css compressor then you have way to much in your CSS files

Try going overyour forum and see if you can remove some of the codes you don't need

Most of the time you add codes that are the same or you add to them.

If you have javascript codes that also need CSS to help make them look good why not add the CSS files in the Code at the bottom of the page.

Yes you can Do that but they may be a little slow at running thou

To do this

Just place your code in the middle of this code

Code:
//CSS FILES
document.write('<style type="text/css">"Your codes start here"
"And End here"
</style>');

Should end up looking something like this
//CSS FILES
Code:
document.write('<style type="text/css">#fa_thanks_message img { vertical-align:middle }#fa_thanks_message {color:#FFF;font-size:16px;font-weight:bold;text-align:center;background-color: #000;border:1px solid #BDB;border-radius:6px;padding:6px;margin:6px;box-shadow: 0px 20px 16px rgba(143, 137, 137, 0.69) inset, 0px -10px 6px rgba(0, 0, 0, 0.05) inset, 2px 2px 3px rgba(0, 0, 0, 0.6);}</style>');

sorry ! but what do I do with this code?
I can create 1 page javascript is not?
or are there any other way?

I am not proficient in the very forum Smile !!

Hoàng Nguyễn
New Member

Posts : 2
Reputation : 1
Language : Vietnamese

Back to top Go down

Re: Help me to insert css error

Post by APE on March 1st 2016, 8:01 pm

Say you have a JavaScript working on your forum right now and you have css files to help it look better in your CSS files you can take that css file and add it to the bottom of your JavaScript page for that code.


Do you get me ?





APE
Manager
Manager

Male Posts : 8339
Reputation : 718
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

View previous topic View next topic Back to top


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