Solved

Colour Coding - html articles - Joomla 3x

Posted on 2014-02-13
2
348 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn how to count occurrences of each item in an array.

630 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