• Page 1 of 1
  • 1
uCoz Community » uCoz Modules » Page Editor » Mismatch content of articles with template
Mismatch content of articles with template
Oli
Posts: 6
Reputation: 0

Message # 1 | 10:29 AM
One month ago we change template of our site and after that, we saw that content of many pages are mismatch with template - words are automaticly get the white background color.

So please, can you give us some good advice how to fix this problem?

bad, bad page: http://images.vfl.ru/ii/1531391051/442df155/22453478.jpg

normal page: http://images.vfl.ru/ii/1531391092/13ed1a3d/22453481.jpg
Post edited by Oli - Thursday, 2018-07-12, 10:30 AM
Gromov
Posts: 478
Reputation: 13

Message # 2 | 11:31 AM
Oli, Can you please provide a link to that 'Bad page' since I can't identify it on your website? Or you have removed it? If so, little we can do.
Oli
Posts: 6
Reputation: 0

Message # 3 | 11:44 AM
This is a link: http://iscelenietravm.ucoz.ru/index/1_vozniknovenie_travm/0-258
Gromov
Posts: 478
Reputation: 13

Message # 4 | 6:25 AM
Oli, the thing is that most likely, you've added your posts via the Visual Editor + the posts were copied from somewhere else, thus the formatting moved to your website as it is. the only way to resolve it is to edit all the posts with the issue manually, via the Visual Editor -> remove the background white text color; or via HTML, for example:

Code
<span style="background-color: rgb(255, 255, 255);">Все травмы, кроме тех, которые возникают в результате несчастных случаев, несмотря на их различия, имеют одну общую особенность – всегда существует одно или несколько лиц, склонных к насилию, которые являются причиной этой травмы. Насилие, преднамеренно направленное на некую личность с целью ранить ее и вызвать боль, приводит к возникновению травмы, при этом жертва подвергается некой разновидности ментального, эмоционального и физического мучения. Это насилие может быть кратким и высокой интенсивности или наоборот – длительным с низкой интенсивностью боли. Хотя это два совершенно противоположных варианта воздействия, к сожалению, как кажется, оба они весьма успешно и разрушительно влияют на личность, выбранную в качестве жертвы.</span>


you need to remove the:
Code
<span style="background-color: rgb(255, 255, 255);">

and
Code
</span>
Gromov
Posts: 478
Reputation: 13

Message # 5 | 6:26 AM
Oli, You may also use the automatic code replacement feature, but be careful since you may break your website a little bit.
Oli
Posts: 6
Reputation: 0

Message # 6 | 12:15 PM
Well, solution which you propose is effective, but on that way we must change every paragraph in all articles, which is not possible.

We find on forum discussion: "how to remove this char on auto tag script" and this script below. Whether this script is good for our aforementioned problem and if is, how to to customize its content?

<script type="text/javascript">
$(document).ready(function() {
$(".others .tags noindex").html(function(index, html) {
return html.replace(')', '');
});
});
</script>
Gromov
Posts: 478
Reputation: 13

Message # 7 | 12:31 PM
Oli, the solution has been already provided to you. As for the script, it's better to ask a person who've created it, maybe he/she will assist you on this one since we don't provide custom coding services.
Oli
Posts: 6
Reputation: 0

Message # 8 | 10:21 AM
Well, we found solution for problem highlighted texts, so, first open article in edit mode, than "select all" text/article and then click on icon "remove formatting". This command will cancel all previous editing commands and give you "plain" text.
Post edited by Oli - Saturday, 2018-07-14, 10:22 AM
Gromov
Posts: 478
Reputation: 13

Message # 9 | 5:58 AM
Oli, Yes, you're right, but it will remove all the formatting, so this option may not suit everyone.
uCoz Community » uCoz Modules » Page Editor » Mismatch content of articles with template
  • Page 1 of 1
  • 1
Search: