Keyword

change font colour on multiple /articles

More
9 years 1 month ago #146721 by Joost
Hi there,

i just migrated a website for a friend of me who was still using joomla 1.5 to the latest version.
However, now i have the problem that lots of K2 items have the text in a wrong coular so I was wondering if i could change the colour of hte text for all K2 items at once, either with a CSS setting or change in the mysql database?

Here you can see one example where the text off the orginal article is in white and now has to become black...

www.moto-vroom.com/index.php/item/2363-bo-bendsneyder-wint-red-bull-rookies-cup-race-tijdens-tt

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 month ago #146728 by Krikor Boghossian
Replied by Krikor Boghossian on topic change font colour on multiple /articles
You can enforce a colour with !important to override these inline styles, but a better solution would be to use K2's content cleaning settings.
These settings are located in K2's parameters where you can define which tags you want to keep.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #146745 by Joost
Replied by Joost on topic change font colour on multiple /articles
Ok,

I have found the locaton where i can alter these settings, however I'm unable to find out which html tags i should include or exclude.
When i select cleanup introtext without any tags in or excluded, i get the text in black, which is fine, however, then i miss all the other lay-out tags.

This is the code from where the colourcode has to be stripped from:
<!-- Item text -->
	  <div class="itemFullText">
	  	<p style="text-align: justify;"><span style="font-family: Arial, sans-serif; color: #ffffff;">Met een succesvol jaar achter de rug kijkt Bo Bendsneyder alweer reikhalzend uit naar het raceseizoen 2015. Momenteel traint hij volop om in perfecte conditie te zijn voor de start van het nieuwe seizoen. </span></p>
<p style="text-align: justify;"><span style="font-family: Arial, sans-serif; color: #ffffff;">2015 wordt een belangrijk jaar voor Bendsneyder. Hij hoopt met een goede klassering in de Red Bull MotoGP Rookies Cup en het Moto3 Junior World Championship (voorheen CEV Repsol – Spaans Open)&nbsp; zich in de kijker te rijden voor een zitje in de Moto3 Klasse van de Grand Prix’s in 2016. </span></p>
<p style="text-align: justify;"><span style="font-family: Arial, sans-serif; color: #ffffff;">Afgelopen jaar hebben de “Vrienden van Bo” hem financieel ondersteund op weg naar zijn sportieve droom. En dat vele kleine beetjes samen helpen is wel gebleken. De vele Vrienden hebben samen een mooi deel van zijn benodigde budget bij elkaar gekregen. Ook voor dit jaar is er weer veel geld nodig om hem te laten racen en trainen om zo weer een stap hoger te kunnen gaan. </span></p>
<p style="text-align: justify;"><span style="font-family: Arial, sans-serif; color: #ffffff;">Bo hoopt dat de Nederlandse motorsportliefhebbers hem ook komend jaar weer een financieel steuntje in de rug willen geven door een mooie donatie. Onder alle Vrienden worden komend jaar weer een aantal mooie items verloot als dank voor de steun, waaronder een VIP arrangement tijdens de TT in Assen. De Vrienden ontvangen daarnaast automatisch de nieuwsbrief met alle nieuwtjes en updates over Bo en zijn prestaties.</span></p>
<p style="text-align: justify;"><span style="font-family: Arial, sans-serif; color: #ffffff;">Een donatie doen is simpel: vul op de website het Vriendenformulier in. De donateur ontvangt een factuur voor het te betalen bedrag.</span></p>	  </div>
	  	  <div class="clr"></div>

any tips? :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 month ago #146751 by Krikor Boghossian
Replied by Krikor Boghossian on topic change font colour on multiple /articles
I would keep p, ul, li, a, ol, strong, em, i, b, table, tr, td, thead, tbody, div

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum