Solved

Colour Coding - html articles - Joomla 3x

Posted on 2014-02-13
2
338 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 110

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39855843
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
ID: 39858303
Thank YOu!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn how to count occurrences of each item in an array.

733 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