Solved

Colour Coding - html articles - Joomla 3x

Posted on 2014-02-13
2
332 Views
Last Modified: 2014-02-13
Hi

I am using Joomla 3.2.2 to operate my website.
All is well & my articles are up - however I want to be able to change the white background colour from the articles to another colour, how can I achieve this??

Here is my website ----> (a1telecomms.co.za)

Here is a source code example of one of my articles "About Us" - how and where can I change my background colour from white to another? TX

"<p>A1 Telecoms cc was started in 2008 by Shaun Wingrin, an Electrical Engineer, who noticed that the man-in-the-street often was misinformed and at times, even unfairly disadvantaged, in his dealings with Telecommunications companies, many of whom are enormous, powerful and appear intimidating to the general public. Please realise though, that we are not saying this is always the case. It just happens that you hear the bad news much more often than the good.</p>
<p> </p>
<p>Telkom, MTN, Vodacom, 8ta, CellC and more recently, Neotel are names that the public hear and see all the time but many people are reluctant to assert the consumer rights with these conglomerates, for varied reasons, namely:</p>
<p>It takes too long to see the process through</p>
<p>They don’t know whom to speak to and get shunted from pillar to post</p>
<p>They don’t know what to say to express their query clearly</p>
<p>They don’t have time to follow up, even when they have lodged a successful query</p>
<p>Lastly, they think it’s going to cost them more than they will gain.</p>
<p> </p>
<p>A1 Telecoms is there to save you money. Our underlying philosophy is that if we don’t save you money, we don’t charge for our services.</p>
<p>We source equipment for clients, prepare DETAILED monthly reports of their telephone use (or abuse by employees), scrutinise their Telkom accounts and set out to recover any monies owed to the client, be it as a result of Credits on their account which they often don’t notice, lack of service due to outages or cable theft or just general overcharging of YOU, the man-in-the-street, intentionally or sometimes even, mistakenly, by the big, powerful giants of the industry.</p>
<p> </p>
<p>We have an enormous database of contacts, back office staff and “the right people to talk to”, when it comes to sorting out issues. Over the years, we have also diversified into IT consulting as it’s so intertwined with the above and the VOIP environment, which is what we focus on heavily too.</p>
<p> </p>
<p>                                                                                                                             <img src="images/images 16.jpg" alt="" /></p>"
0
Comment
Question by:shaunwingin
2 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
Comment Utility
You might be able to wrap the paragraphs in a <div> that contained the color you want.  Example here:
http://www.laprbass.com/RAY_temp_shaunwingin.php

Note line 15 and 17:

<?php // RAY_temp_shaunwingin.php
error_reporting(E_ALL);

// THE ORIGINAL HTML
$html = <<<EOD
<p>A1 Telecoms cc was started in 2008 by Shaun Wingrin, an Electrical Engineer, who noticed that the man-in-the-street often was misinformed and at times, even unfairly disadvantaged, in his dealings with Telecommunications companies, many of whom are enormous, powerful and appear intimidating to the general public. Please realise though, that we are not saying this is always the case. It just happens that you hear the bad news much more often than the good.</p>
<p> </p>
<p>Telkom, MTN, Vodacom, 8ta, CellC and more recently, Neotel are names that the public hear and see all the time but many people are reluctant to assert the consumer rights with these conglomerates, for varied reasons, namely:</p>
<p>It takes too long to see the process through</p>
<p>They don’t know whom to speak to and get shunted from pillar to post</p>
<p><i>REDACTED</i></p>
EOD;

// RECOLOR THE BACKGROUND
echo '<div style="background-color:yellow;">';
echo $html;
echo '</div>';
echo '<p>Normal background here</p>';

Open in new window

0
 

Author Closing Comment

by:shaunwingin
Comment Utility
Thank YOu!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now