Trendy:

SMS Solution Center

How to start with joomla

  • Written by Administrator

Put a background image or color on an article

You can place a background image or color in an article by following these steps:

  1. Open the article for editing with TinyMCE or another editor.
  2. Press the "Edit HTML Source" button and enter the code indicated below at the very beginning of the article:
  • For an image:
<div style="background-image: url('/images/stories/key.jpg')">
  • For a color:
<div style="background-color: #dddddd">

Substitute your desired image or color in the code above. If you are using the TinyMCE editor, you do not need to add the closing </div> tag at the end of the article, since TinyMCE will add this for you automatically.

If you want to control the style from the CSS file, you can insert a class attribute instead of a style attribute. For example, follow steps (1) and (2) above, except insert this code:

<div class="mynewclass">

Then open the CSS file (normally <Joomla! home>/templates/CSS/template.css) and add something like:

div.mynewclass { background-color: red; }

If you want to have different backgrounds for different Menu Items, you can also use the Page Class Suffix parameter of the Menu Item to create new CSS classes and then add styling commands in the CSS file.

SMS PORTAL AND JOOMLA TUTORIAL

Bulk SMS Portal Creator V4 Complete Manual

14 October 2016 - 153Views

SMS Portal Creator is the

...

How to fix it No installation plugin has been enabled - Joomla 3.6

09 September 2016 - 292Views

Joomla 3.6 is a new

...

DND Policy - How to Deactivate it

13 August 2016 - 413 Views
...

Guest Level Members

28 July 2016 - 304Views

If you are interested in

...

How to Run a Successful SMS Marketing Campaign

12 June 2016 - 626Views

SMS - invest in

...

Put a background image or color on an article

29 September 2015 - 1003 Views
...

How to Fix jquery Issue in joomla

21 July 2015 - 1543Views

How to JQUERRY ISSUE in

...

How to Fix SMS Counters Issue

21 July 2015 - 1694Views

How to JQUERRY ISSUE in

...

Accessing cPanel

07 February 2014 - 1571 Views

To access

...

An Introduction to Branding cPanel for your users

07 February 2014 - 1509Views

How to Create a new

...

An introduction to reseller access within WHM

07 February 2014 - 2691Views

What is reseller access

...

Automated database backup for SPC High Earner

06 February 2014 - 1346 Views

SPC high earner comes

...

Creating MySQL Database and User

22 February 2014 - 1845Views

Creating a MySQL database

...

Cron Settings for SMS Scheduling

06 February 2014 - 1864 Views
  A
...

Download Now

09 March 2014 - 3678Views

Here is a PDF version of

...

HOW TO ADD MENU IN JOOMLA 2.5

05 February 2014 - 6216Views

To create a

...

How To Add New User in Joomla Using PHPMyAdmin

15 March 2014 - 1824 Views

If you need to create 

...

How to Choose the Best Web Hosting Provider

07 February 2014 - 1520Views
...