-
AuthorPosts
-
February 13, 2009 at 4:10 pm #138098
Hi,
I´m using JANews component with template TelineII and Joomla 1.5.9 at this site:
http://www.iesalbasit.es
And my problem is that recently color has changed to pink in most of the text in Home page.I cannot find it in the css files.
I have checked it with firebug and there is a very repetitive line of code named color all over the page.>:(
<font color=”#cc00ff”>
</font>
<div id=”ja-colmass” class=”clearfix”>
<font color=”#cc00ff”>
</font>
<div class=”ja-innerpad”>
<font color=”#cc00ff”>
</font>
<div class=”moduletable”>
<font color=”#cc00ff”>
</font>
<h3>
<font color=”#cc00ff” _moz-rs-heading=””>
<strong _moz-rs-heading=””>
<strong _moz-rs-heading=””>Noticias urgentes</strong>
</strong>
</font>
Hoiw can I reset it to the original color?:confused:
Sure it´s very simple but it´s driving me crazy.:Dimsleepy Friendimsleepy
- Join date:
- January 2009
- Posts:
- 451
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 94
- Thanked:
- 45 times in 1 posts
February 13, 2009 at 8:01 pm #291212Hello.
You could simply use the original template.css file and upload it via FTP to your site. That might bring everything back to the original “out of the box” colors. I don’t believe the css is your problem though.
Your problem runs deeper. You are copying from Microsoft Word to your editor. This is adding a lot of unwanted code that will really mess with your site. If you are using Microsoft Word to write your articles, that is fine, but before you copy to your editor, copy to Notepad first. Then copy from Notepad to your Joomla editor. This will take all of the unwanted code out.
Looking at your source, there is so much extra Microsoft Word code that it is interferring with your site. As you add more articles this way your site is going to become a mess.
I noticed when I opened your site your website wants me to run addin Microsoft 2007 Office component. Not good either.
Hope this helps.
1 user says Thank You to imsleepy for this useful post
February 13, 2009 at 8:57 pm #291224Hi and thanks for your reply,
I have upload all css files,but as I thought and you told me,the problems goes deeper.
I migrated it from a former web,in which almost all the articles were copied and pasted from Word.
It would be a huge work to clean all the code.
Is it possible to clean just the lines in pink from the index itself?Or does it come from other parts of the template,components,etc,so as to make it impossible?
Thank you for your time and help,I appreciate it.
chaoimsleepy Friendimsleepy
- Join date:
- January 2009
- Posts:
- 451
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 94
- Thanked:
- 45 times in 1 posts
February 13, 2009 at 9:07 pm #291228Hello,
This very situation was addressed just a week or so ago here… http://www.joomlart.com/forums/topic/ja-teline-ii-from-ex-member/
Personally I would copy each article to Notepad and put it back in (see my suggestion in the other thread for details)… but that is not what most would do.
There are some very good alternative suggestions in this other thread.
Hope this helps. Sorry there isn’t an easy fix for this.
cjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
February 14, 2009 at 12:30 am #291265Some editors also allow you to remove formatting (little eraser icon) but not sure if that removes all the offending MS code.
If you want to change a color like that, you can do a search/replace on a file (css) with extplorer.
Cheryl
1 user says Thank You to cjmicro for this useful post
February 14, 2009 at 8:45 pm #291438Thank you for your reply,
I think it is not in any css file,I have reinstalled all css files in the template and it is still there.
I don´t know what´s happening.I was wandering if it is possible to write that code directly on the html.
But I don´t know where to check it.
Regrets.cjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
February 14, 2009 at 9:15 pm #291442That pink color seems to be in your content. So you will have to go to each module and article and view the html and change it there. You can also try the erase formatting tool from the editor (not sure which editor you are using). That might strip out some of your code.
For example on your link you will see this article:
<blockquote>Departamentos
PRÁCTICA CASERA CIENTÍFICA“ELABORACIÓN DE UNA EMULSIÓN”
OBJETIVOS:
Que el alumnado sea capaz de comprobar que muchas prácticas que se realizan habitualmente en la Co… </blockquote>
The pink text in there is coming from the article html, not the template. If you go to the admin and edit that article, you should see it in there. Highlight the text and use the eraser, or you can click on the <> or HTML in the editor to view the code rather than the editor. You can find it in there to edit.
Cheryl
February 14, 2009 at 9:56 pm #291449Hi,
Here it is the source code for the article:
<p><img style=”margin-bottom: 20px; margin-right: 20px” alt=”” title=”” src=”images/users/65/emulsion.png” align=”left” height=”158″ width=”210″ /><font size=”2″> </font><span></span>
“ELABORACIÓN DE UNA EMULSIÓN”OBJETIVOS:
Que el alumnado sea capaz de comprobar que muchas prácticas que se realizan habitualmente en la Cocina realizan procesos físicos y/o químicos que se estudian en clase en la asignatura de Física y Química.
* Fomentar la práctica de procedimientos y actitudes, que puedan resultar un factor estimulante para los alumnos y alumnas con diferentes niveles deaprendizaje.
* Acercar la Ciencia a todos los ciudadanos y disfrutar con ella.
* Trabajar en equipo: puede ser con otros compañeros de clase, pero también, padres,hermanos.
* Valorar la interculturalidad a través de las costumbres en la gastronomía.
* Fomentar la igualdad entre hombres y mujeres en la cocina.
* Responsabilizarse de la limpieza del material utilizado. * Responsabilizarse de la limpieza del material utilizado. </p><font size=”2″><strong><a href=”images/users/65/PRCTICA%20CASERA%20CIENTFICA.pdf” title=””><img src=”plugins/editors/wysiwygPro3/wysiwygPro/themes/default/wysiwygpro/icons/pdf.gif” style=”border-width: 0pt” alt=”” /> Ver práctica</a> </strong></font>
And the pink colour is still there,even more,when this article goes to the left hand side of the blog you can see the real color.Maybe it has to do with position and not the content.
Is it as if the template is mixing codes,not taking into account css files and it´s not the component because it goes to other modules on the right,the tabs module.:confused:
I don´t know what to do.
But thanks for your replyimsleepy Friendimsleepy
- Join date:
- January 2009
- Posts:
- 451
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 94
- Thanked:
- 45 times in 1 posts
February 14, 2009 at 10:09 pm #291451It is the Word code from your other articles that is causing the problems. Many things are being overridden because the browser is taking your Word code and parsing it improperly and applying it to places you don’t want.
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
February 14, 2009 at 10:52 pm #291463Check your “Moodle” article:
http://www.iesalbasit.es/index.php?option=com_content&view=article&id=259:moodle&catid=268:floIt looks like that might be a big offender. You’ve got all sorts of “pink” calls for that one line. Clean up the source of that line and see what happens.
Purely a guess…but an educated one from a previous problem I had.
I also concur with the above…MSWord code can really cause headaches when cut and pasted into Jooma.Good luck.
John. -
AuthorPosts
This topic contains 11 replies, has 4 voices, and was last updated by cjmicro 15 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum