My Overrides are Messed up! How do I fix them?
There are a few reason your overrides might be messed up, below is a listing of some of the most common.Malformed Comment Tags or Style Tags
Note that when you are inserting CSS into your GLOBAL_HEAD, you should always surround it with style tags, and comment tags. This will make it so that newer browsers recognize it, and older ones ignore it. Check your comment tags and style tags. They should look like this:<style type="text/css">If your tags do not look like that, change them.
<!--
(All CSS goes here)
-->
</style>
Not Closing CSS Definitions
When you are using CSS in your GLOBAL_HEAD, they generally go in a certain style, and need to be that way to work. Check your CSS definitions, they should appear in one of two ways, either like this:body {font-face: "Arial", sans-serif; font-size: 12pt; color:red}Or like this:
body {font-face: "Arial", sans-serif;Regardless of which way yours look, or what the CSS actually is, make sure they all open with a curly bracket, close with a curly bracket, and have semi colons (;) between each definition.
font-size: 12pt;
color:red}
Not Merging GLOBAL_HEAD Overrides
The LJ servers will only recognize one GLOBAL_HEAD, if you have more than one, one of them will be ignored. You need to make sure that you have all CSS in one GLOBAL_HEAD. To find out how to merge your GLOBAL_HEADs, read this post.Overrides Inside Other Overrides
You can not nest overrides. What this means is, you can not have the override for your comments links inside the GLOBAL_HEAD override, it won't work. Always close your overrides before you type in the next override. You would be amazed the havoc that one missing closing tag can cause. Check your overrides, if you see one override begining before the one above it closes, that is your problem.Using the Wrong Override Marker
Note that when you use an override, you must format it properly, depending on if you are using one line for the override, or more than one line. For example, this override:LASTN_OPT_ITEMS=> 20Can use the marker '=>', because it is entirely on one line. If your override has any line breaks at all, you must use the multi line marker, like this:
GLOBAL_HEAD<=Note the '<=' marker at the begining and again at the end, multi-line overrides must use those markers.
<style type="text/css">
<!--
body {font-size: 12pt}
-->
</style>
<=GLOBAL_HEAD
If you have checked all of this, and are still having problems, feel free to ask someone for help in Support.